Package: azure-mgmt-resourcehealth
Microsoft Azure SDK for PythonThis is the Microsoft Azure Resource Health Management Client Library.
This package has been tested with Python 3.7+.
For a more complete view of Azure libraries, see theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-resourcehealth
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.resourcehealthimportResourceHealthMgmtClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=ResourceHealthMgmtClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found at:Search Resource Health Managementon docs.microsoft.comAzure Python Mgmt SDK Samples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History1.0.0b5 (2023-10-23)Features AddedModel Event has a new parameter arg_queryModel Event has a new parameter event_sub_typeModel Event has a new parameter maintenance_idModel Event has a new parameter maintenance_typeModel EventImpactedResource has a new parameter maintenance_end_timeModel EventImpactedResource has a new parameter maintenance_start_timeModel EventImpactedResource has a new parameter resource_groupModel EventImpactedResource has a new parameter resource_nameModel EventImpactedResource has a new parameter status1.0.0b4 (2023-05-19)Features AddedAdded operation EventsOperations.list_by_tenant_idAdded operation group EventOperationsAdded operation group ImpactedResourcesOperationsAdded operation group SecurityAdvisoryImpactedResourcesOperationsModel AvailabilityStatusProperties has a new parameter article_idModel AvailabilityStatusProperties has a new parameter categoryModel AvailabilityStatusProperties has a new parameter contextModel AvailabilityStatusProperties has a new parameter occured_timeModel AvailabilityStatusProperties has a new parameter titleModel AvailabilityStatusPropertiesRecentlyResolved has a new parameter unavailable_occured_timeModel AvailabilityStatusPropertiesRecentlyResolved has a new parameter unavailable_summaryModel EmergingIssuesGetResult has a new parameter system_dataModel Event has a new parameter additional_informationModel Event has a new parameter durationModel Event has a new parameter external_incident_idModel Event has a new parameter impact_typeModel Event has a new parameter reasonModel Event has a new parameter system_dataModel EventPropertiesArticle has a new parameter article_idModel EventPropertiesArticle has a new parameter parametersModel ImpactedServiceRegion has a new parameter impacted_tenantsModel MetadataEntity has a new parameter system_dataModel MetadataSupportedValueDetail has a new parameter resource_typesModel RecommendedAction has a new parameter action_url_commentModel Resource has a new parameter system_dataBreaking ChangesClient name is changed fromMicrosoftResourceHealthtoResourceHealthMgmtClientModel AvailabilityStatusProperties no longer has parameter occurred_timeModel AvailabilityStatusPropertiesRecentlyResolved no longer has parameter unavailability_summaryModel AvailabilityStatusPropertiesRecentlyResolved no longer has parameter unavailable_occurred_timeOperation EventsOperations.list_by_single_resource no longer has parameter viewOperation EventsOperations.list_by_subscription_id no longer has parameter view1.0.0b3 (2023-02-16)Other ChangesAdded generated samples in github repoDrop support for python<3.7.01.0.0b2 (2022-11-15)Features AddedAdded operation group EmergingIssuesOperationsAdded operation group EventsOperationsAdded operation group MetadataOperationsModel AvailabilityStatusProperties has a new parameter health_event_categoryModel AvailabilityStatusProperties has a new parameter health_event_causeModel AvailabilityStatusProperties has a new parameter health_event_idModel AvailabilityStatusProperties has a new parameter health_event_typeModel AvailabilityStatusProperties has a new parameter occurred_timeModel AvailabilityStatusProperties has a new parameter recently_resolvedBreaking ChangesModel AvailabilityStatusProperties no longer has parameter is_arm_resourceModel AvailabilityStatusProperties no longer has parameter occured_timeModel AvailabilityStatusProperties no longer has parameter recently_resolved_state1.0.0b1 (2021-06-25)Initial Release