Share via


ResourceHealthExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ResourceHealth.

public static class ResourceHealthExtensions
type ResourceHealthExtensions = class
Public Module ResourceHealthExtensions
Inheritance
ResourceHealthExtensions

Methods

GetAvailabilityStatus(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Gets current availability status for a single resource

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current
  • Operation Id: AvailabilityStatuses_GetByResource
GetAvailabilityStatusAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Gets current availability status for a single resource

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current
  • Operation Id: AvailabilityStatuses_GetByResource
GetAvailabilityStatuses(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Lists all historical availability transitions and impacting events for a single resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses
  • Operation Id: AvailabilityStatuses_List
GetAvailabilityStatusesAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Lists all historical availability transitions and impacting events for a single resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses
  • Operation Id: AvailabilityStatuses_List
GetAvailabilityStatusesByResourceGroup(ResourceGroupResource, String, String, CancellationToken)

Lists the current availability status for all the resources in the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses
  • Operation Id: AvailabilityStatuses_ListByResourceGroup
GetAvailabilityStatusesByResourceGroupAsync(ResourceGroupResource, String, String, CancellationToken)

Lists the current availability status for all the resources in the resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses
  • Operation Id: AvailabilityStatuses_ListByResourceGroup
GetAvailabilityStatusesBySubscription(SubscriptionResource, String, String, CancellationToken)

Lists the current availability status for all the resources in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses
  • Operation Id: AvailabilityStatuses_ListBySubscriptionId
GetAvailabilityStatusesBySubscriptionAsync(SubscriptionResource, String, String, CancellationToken)

Lists the current availability status for all the resources in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses
  • Operation Id: AvailabilityStatuses_ListBySubscriptionId
GetAvailabilityStatusOfChildResource(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Gets current availability status for a single resource

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current
  • Operation Id: ChildAvailabilityStatuses_GetByResource
GetAvailabilityStatusOfChildResourceAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Gets current availability status for a single resource

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current
  • Operation Id: ChildAvailabilityStatuses_GetByResource
GetAvailabilityStatusOfChildResources(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Lists the all the children and its current health status for a parent resource. Use the nextLink property in the response to get the next page of children current health

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/childResources
  • Operation Id: ChildResources_List
GetAvailabilityStatusOfChildResourcesAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Lists the all the children and its current health status for a parent resource. Use the nextLink property in the response to get the next page of children current health

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/childResources
  • Operation Id: ChildResources_List
GetHealthEventsOfSingleResource(ArmClient, ResourceIdentifier, String, CancellationToken)

Lists current service health events for given resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/events
  • Operation Id: Events_ListBySingleResource
GetHealthEventsOfSingleResourceAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Lists current service health events for given resource.

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/events
  • Operation Id: Events_ListBySingleResource
GetHistoricalAvailabilityStatusesOfChildResource(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses
  • Operation Id: ChildAvailabilityStatuses_List
GetHistoricalAvailabilityStatusesOfChildResourceAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status

  • Request Path: /{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses
  • Operation Id: ChildAvailabilityStatuses_List
GetResourceHealthEvent(SubscriptionResource, String, String, String, CancellationToken)

Service health event in the subscription by event tracking id

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • Operation Id: Event_GetBySubscriptionIdAndTrackingId
GetResourceHealthEventAsync(SubscriptionResource, String, String, String, CancellationToken)

Service health event in the subscription by event tracking id

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • Operation Id: Event_GetBySubscriptionIdAndTrackingId
GetResourceHealthEventImpactedResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceHealthEventImpactedResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ResourceHealthEventImpactedResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceHealthEventImpactedResource(ResourceIdentifier) instead.

GetResourceHealthEventResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceHealthEventResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a ResourceHealthEventResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceHealthEventResource(ResourceIdentifier) instead.

GetResourceHealthEvents(SubscriptionResource)

Gets a collection of ResourceHealthEventResources in the SubscriptionResource. MockingTo mock this method, please mock GetResourceHealthEvents() instead.

GetResourceHealthMetadataEntities(TenantResource)

Gets a collection of ResourceHealthMetadataEntityResources in the TenantResource. MockingTo mock this method, please mock GetResourceHealthMetadataEntities() instead.

GetResourceHealthMetadataEntity(TenantResource, String, CancellationToken)

Gets the list of metadata entities.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
GetResourceHealthMetadataEntityAsync(TenantResource, String, CancellationToken)

Gets the list of metadata entities.

  • Request Path: /providers/Microsoft.ResourceHealth/metadata/{name}
  • Operation Id: Metadata_GetEntity
GetResourceHealthMetadataEntityResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceHealthMetadataEntityResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a ResourceHealthMetadataEntityResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceHealthMetadataEntityResource(ResourceIdentifier) instead.

GetServiceEmergingIssue(TenantResource, EmergingIssueNameContent, CancellationToken)

Gets Azure services' emerging issues.

  • Request Path: /providers/Microsoft.ResourceHealth/emergingIssues/{issueName}
  • Operation Id: EmergingIssues_Get
GetServiceEmergingIssueAsync(TenantResource, EmergingIssueNameContent, CancellationToken)

Gets Azure services' emerging issues.

  • Request Path: /providers/Microsoft.ResourceHealth/emergingIssues/{issueName}
  • Operation Id: EmergingIssues_Get
GetServiceEmergingIssueResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceEmergingIssueResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(EmergingIssueNameContent) to create a ServiceEmergingIssueResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetServiceEmergingIssueResource(ResourceIdentifier) instead.

GetServiceEmergingIssues(TenantResource)

Gets a collection of ServiceEmergingIssueResources in the TenantResource. MockingTo mock this method, please mock GetServiceEmergingIssues() instead.

GetTenantResourceHealthEvent(TenantResource, String, String, String, CancellationToken)

Service health event in the tenant by event tracking id

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • Operation Id: Event_GetByTenantIdAndTrackingId
GetTenantResourceHealthEventAsync(TenantResource, String, String, String, CancellationToken)

Service health event in the tenant by event tracking id

  • Request Path: /providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • Operation Id: Event_GetByTenantIdAndTrackingId
GetTenantResourceHealthEventImpactedResource(ArmClient, ResourceIdentifier)

Gets an object representing a TenantResourceHealthEventImpactedResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a TenantResourceHealthEventImpactedResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantResourceHealthEventImpactedResource(ResourceIdentifier) instead.

GetTenantResourceHealthEventResource(ArmClient, ResourceIdentifier)

Gets an object representing a TenantResourceHealthEventResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a TenantResourceHealthEventResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantResourceHealthEventResource(ResourceIdentifier) instead.

GetTenantResourceHealthEvents(TenantResource)

Gets a collection of TenantResourceHealthEventResources in the TenantResource. MockingTo mock this method, please mock GetTenantResourceHealthEvents() instead.

Applies to