diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/CHANGELOG.md b/sdk/cloudhealth/azure-mgmt-cloudhealth/CHANGELOG.md index 32b230aa362c..f9539ed2f4d3 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/CHANGELOG.md +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/CHANGELOG.md @@ -1,5 +1,21 @@ # Release History +## 1.0.0b4 (2026-08-21) + +### Features Added + + - Model `EntityProperties` added property `signal_aggregation_groups` + - Added enum `AggregationType` + - Added enum `AggregationUnit` + - Added model `SignalAggregationGroup` + +### Breaking Changes + + - Model `ThresholdRuleV2` deleted or renamed its instance variable `look_back_window` + - Deleted or renamed model `DependenciesAggregationType` + - Deleted or renamed model `DependenciesAggregationUnit` + - Deleted or renamed model `LookBackWindow` + ## 1.0.0b3 (2026-07-07) ### Features Added diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/_metadata.json b/sdk/cloudhealth/azure-mgmt-cloudhealth/_metadata.json index 083db0aaf168..db6279aaf1db 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/_metadata.json +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/_metadata.json @@ -1,11 +1,11 @@ { - "apiVersion": "2026-05-01-preview", + "apiVersion": "2026-09-01-preview", "apiVersions": { - "Microsoft.CloudHealth": "2026-05-01-preview" + "Microsoft.CloudHealth": "2026-09-01-preview" }, - "commit": "36d8e56031506e1822289f36051e5d491ad16618", + "commit": "2699940980baf57f4a5eedd1c80d5767820425a5", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "typespec_src": "specification/cloudhealth/CloudHealth.Management", - "emitterVersion": "0.63.2", - "httpClientPythonVersion": "^0.34.1" + "typespec_src": "specification/cloudhealth/resource-manager/Microsoft.CloudHealth/CloudHealth", + "emitterVersion": "0.63.5", + "httpClientPythonVersion": "^0.36.0" } \ No newline at end of file diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/api.md b/sdk/cloudhealth/azure-mgmt-cloudhealth/api.md index ceea69dee7a1..9855a71cfa8c 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/api.md +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/api.md @@ -114,7 +114,7 @@ namespace azure.mgmt.cloudhealth.aio.operations ) -> AsyncLROPoller[AuthenticationSetting]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'authentication_setting_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'authentication_setting_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) async def begin_delete( self, resource_group_name: str, @@ -186,7 +186,7 @@ namespace azure.mgmt.cloudhealth.aio.operations ) -> AsyncLROPoller[DiscoveryRule]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'discovery_rule_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'discovery_rule_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) async def begin_delete( self, resource_group_name: str, @@ -296,7 +296,7 @@ namespace azure.mgmt.cloudhealth.aio.operations ) -> AsyncLROPoller[Entity]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) async def begin_delete( self, resource_group_name: str, @@ -423,7 +423,7 @@ namespace azure.mgmt.cloudhealth.aio.operations ) -> SignalHistoryResponse: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-05-01-preview', params_added_on={'2026-05-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name', 'accept']}, api_versions_list=['2026-05-01-preview']) + @api_version_validation(method_added_on='2026-05-01-preview', params_added_on={'2026-05-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name', 'accept']}, api_versions_list=['2026-05-01-preview', '2026-09-01-preview']) async def get_signal_recommendations( self, resource_group_name: str, @@ -637,7 +637,7 @@ namespace azure.mgmt.cloudhealth.aio.operations ) -> AsyncLROPoller[Relationship]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'relationship_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'relationship_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) async def begin_delete( self, resource_group_name: str, @@ -711,7 +711,7 @@ namespace azure.mgmt.cloudhealth.aio.operations ) -> AsyncLROPoller[SignalDefinition]: ... @distributed_trace_async - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'signal_definition_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'signal_definition_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) async def begin_delete( self, resource_group_name: str, @@ -762,6 +762,18 @@ namespace azure.mgmt.cloudhealth.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.cloudhealth.models.AggregationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + BEST_OF = "BestOf" + MAX_NOT_HEALTHY = "MaxNotHealthy" + MIN_HEALTHY = "MinHealthy" + WORST_OF = "WorstOf" + + + class azure.mgmt.cloudhealth.models.AggregationUnit(str, Enum, metaclass=CaseInsensitiveEnumMeta): + ABSOLUTE = "Absolute" + PERCENTAGE = "Percentage" + + class azure.mgmt.cloudhealth.models.AlertConfiguration(_Model): action_group_ids: Optional[list[str]] description: Optional[str] @@ -984,33 +996,22 @@ namespace azure.mgmt.cloudhealth.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... - class azure.mgmt.cloudhealth.models.DependenciesAggregationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - MAX_NOT_HEALTHY = "MaxNotHealthy" - MIN_HEALTHY = "MinHealthy" - WORST_OF = "WorstOf" - - - class azure.mgmt.cloudhealth.models.DependenciesAggregationUnit(str, Enum, metaclass=CaseInsensitiveEnumMeta): - ABSOLUTE = "Absolute" - PERCENTAGE = "Percentage" - - class azure.mgmt.cloudhealth.models.DependenciesSignalGroupV2(_Model): - aggregation_type: Union[str, DependenciesAggregationType] + aggregation_type: Union[str, AggregationType] degraded_threshold: Optional[float] ignore_unknown: Optional[bool] unhealthy_threshold: Optional[float] - unit: Optional[Union[str, DependenciesAggregationUnit]] + unit: Optional[Union[str, AggregationUnit]] @overload def __init__( self, *, - aggregation_type: Union[str, DependenciesAggregationType], + aggregation_type: Union[str, AggregationType], degraded_threshold: Optional[float] = ..., ignore_unknown: Optional[bool] = ..., unhealthy_threshold: Optional[float] = ..., - unit: Optional[Union[str, DependenciesAggregationUnit]] = ... + unit: Optional[Union[str, AggregationUnit]] = ... ) -> None: ... @overload @@ -1051,7 +1052,7 @@ namespace azure.mgmt.cloudhealth.models authentication_setting: str discover_relationships: Union[str, DiscoveryRuleRelationshipDiscoveryBehavior] display_name: Optional[str] - entity_name: str + entity_name: Optional[str] error: Optional[DiscoveryError] provisioning_state: Optional[Union[str, HealthModelProvisioningState]] specification: DiscoveryRuleSpecification @@ -1206,6 +1207,7 @@ namespace azure.mgmt.cloudhealth.models icon: Optional[IconDefinition] impact: Optional[Union[str, EntityImpact]] provisioning_state: Optional[Union[str, HealthModelProvisioningState]] + signal_aggregation_groups: Optional[list[SignalAggregationGroup]] signal_groups: Optional[SignalGroups] tags: Optional[dict[str, str]] @@ -1219,6 +1221,7 @@ namespace azure.mgmt.cloudhealth.models health_objective: Optional[float] = ..., icon: Optional[IconDefinition] = ..., impact: Optional[Union[str, EntityImpact]] = ..., + signal_aggregation_groups: Optional[list[SignalAggregationGroup]] = ..., signal_groups: Optional[SignalGroups] = ..., tags: Optional[dict[str, str]] = ... ) -> None: ... @@ -1564,13 +1567,6 @@ namespace azure.mgmt.cloudhealth.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... - class azure.mgmt.cloudhealth.models.LookBackWindow(str, Enum, metaclass=CaseInsensitiveEnumMeta): - PT15_M = "PT15M" - PT1_H = "PT1H" - PT30_M = "PT30M" - PT5_M = "PT5M" - - class azure.mgmt.cloudhealth.models.ManagedIdentityAuthenticationSettingProperties(AuthenticationSettingProperties, discriminator='ManagedIdentity'): authentication_kind: Literal[AuthenticationKind.MANAGED_IDENTITY] display_name: str @@ -1853,6 +1849,36 @@ namespace azure.mgmt.cloudhealth.models def __init__(self, mapping: Mapping[str, Any]) -> None: ... + class azure.mgmt.cloudhealth.models.SignalAggregationGroup(_Model): + aggregated_health_state: Optional[Union[str, HealthState]] + aggregation_type: Optional[Union[str, AggregationType]] + degraded_threshold: Optional[float] + display_name: Optional[str] + ignore_unknown: Optional[bool] + members: list[str] + name: str + unhealthy_threshold: Optional[float] + unit: Optional[Union[str, AggregationUnit]] + unresolved_members: Optional[list[str]] + + @overload + def __init__( + self, + *, + aggregation_type: Optional[Union[str, AggregationType]] = ..., + degraded_threshold: Optional[float] = ..., + display_name: Optional[str] = ..., + ignore_unknown: Optional[bool] = ..., + members: list[str], + name: str, + unhealthy_threshold: Optional[float] = ..., + unit: Optional[Union[str, AggregationUnit]] = ... + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: ... + + class azure.mgmt.cloudhealth.models.SignalConfiguration(_Model): aggregation_type: Optional[Union[str, MetricAggregationType]] dimension_filter: Optional[str] @@ -2086,7 +2112,6 @@ namespace azure.mgmt.cloudhealth.models class azure.mgmt.cloudhealth.models.ThresholdRuleV2(_Model): - look_back_window: Optional[Union[str, LookBackWindow]] operator: Union[str, SignalOperator] sensitivity: Optional[Union[str, DynamicThresholdSensitivity]] threshold: Optional[float] @@ -2095,7 +2120,6 @@ namespace azure.mgmt.cloudhealth.models def __init__( self, *, - look_back_window: Optional[Union[str, LookBackWindow]] = ..., operator: Union[str, SignalOperator], sensitivity: Optional[Union[str, DynamicThresholdSensitivity]] = ..., threshold: Optional[float] = ... @@ -2177,7 +2201,7 @@ namespace azure.mgmt.cloudhealth.operations ) -> LROPoller[AuthenticationSetting]: ... @distributed_trace - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'authentication_setting_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'authentication_setting_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) def begin_delete( self, resource_group_name: str, @@ -2249,7 +2273,7 @@ namespace azure.mgmt.cloudhealth.operations ) -> LROPoller[DiscoveryRule]: ... @distributed_trace - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'discovery_rule_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'discovery_rule_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) def begin_delete( self, resource_group_name: str, @@ -2359,7 +2383,7 @@ namespace azure.mgmt.cloudhealth.operations ) -> LROPoller[Entity]: ... @distributed_trace - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) def begin_delete( self, resource_group_name: str, @@ -2486,7 +2510,7 @@ namespace azure.mgmt.cloudhealth.operations ) -> SignalHistoryResponse: ... @distributed_trace - @api_version_validation(method_added_on='2026-05-01-preview', params_added_on={'2026-05-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name', 'accept']}, api_versions_list=['2026-05-01-preview']) + @api_version_validation(method_added_on='2026-05-01-preview', params_added_on={'2026-05-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'entity_name', 'accept']}, api_versions_list=['2026-05-01-preview', '2026-09-01-preview']) def get_signal_recommendations( self, resource_group_name: str, @@ -2700,7 +2724,7 @@ namespace azure.mgmt.cloudhealth.operations ) -> LROPoller[Relationship]: ... @distributed_trace - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'relationship_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'relationship_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) def begin_delete( self, resource_group_name: str, @@ -2774,7 +2798,7 @@ namespace azure.mgmt.cloudhealth.operations ) -> LROPoller[SignalDefinition]: ... @distributed_trace - @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'signal_definition_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview']) + @api_version_validation(method_added_on='2026-01-01-preview', params_added_on={'2026-01-01-preview': ['api_version', 'subscription_id', 'resource_group_name', 'health_model_name', 'signal_definition_name']}, api_versions_list=['2026-01-01-preview', '2026-05-01-preview', '2026-09-01-preview']) def begin_delete( self, resource_group_name: str, @@ -2808,7 +2832,7 @@ namespace azure.mgmt.cloudhealth.types class azure.mgmt.cloudhealth.types.AddDataAnnotationRequest(TypedDict, total=False): key "annotationDetails": Required[dict[str, str]] key "description": str - annotation_details: dict[str, str] + annotationDetails: dict[str, str] description: str @@ -2816,7 +2840,6 @@ namespace azure.mgmt.cloudhealth.types key "description": str key "severity": Required[Union[str, AlertSeverity]] actionGroupIds: list[str] - action_group_ids: list[str] description: str severity: Union[str, AlertSeverity] @@ -2824,7 +2847,7 @@ namespace azure.mgmt.cloudhealth.types class azure.mgmt.cloudhealth.types.ApplicationInsightsTopologySpecification(TypedDict, total=False): key "applicationInsightsResourceId": Required[str] key "kind": Required[Literal[DiscoveryRuleKind.APPLICATION_INSIGHTS_TOPOLOGY]] - application_insights_resource_id: str + applicationInsightsResourceId: str kind: Literal[DiscoveryRuleKind.APPLICATION_INSIGHTS_TOPOLOGY] @@ -2841,7 +2864,7 @@ namespace azure.mgmt.cloudhealth.types id: str name: str properties: AuthenticationSettingProperties - system_data: SystemData + systemData: SystemData type: str @@ -2850,17 +2873,17 @@ namespace azure.mgmt.cloudhealth.types key "displayName": str key "managedIdentityName": Required[str] key "provisioningState": Union[str, HealthModelProvisioningState] - authentication_kind: Literal[AuthenticationKind.MANAGED_IDENTITY] - display_name: str - managed_identity_name: str - provisioning_state: Union[str, HealthModelProvisioningState] + authenticationKind: Literal[AuthenticationKind.MANAGED_IDENTITY] + displayName: str + managedIdentityName: str + provisioningState: Union[str, HealthModelProvisioningState] class azure.mgmt.cloudhealth.types.AzureMonitorWorkspaceSignals(TypedDict, total=False): key "authenticationSetting": Required[str] key "azureMonitorWorkspaceResourceId": Required[str] - authentication_setting: str - azure_monitor_workspace_resource_id: str + authenticationSetting: str + azureMonitorWorkspaceResourceId: str signals: list[PrometheusMetricsSignal] @@ -2869,7 +2892,7 @@ namespace azure.mgmt.cloudhealth.types key "signalName": str key "status": ForwardRef('AzureResourceHealthSignalStatus', module='types') enabled: Union[str, ResourceHealthAvailabilityStateSignalBehavior] - signal_name: str + signalName: str status: AzureResourceHealthSignalStatus @@ -2886,16 +2909,16 @@ namespace azure.mgmt.cloudhealth.types key "reportedAt": str key "summary": str key "value": float - additional_context: str - availability_reported_time: str - availability_state: Union[str, ResourceHealthAvailabilityState] + additionalContext: str + availabilityReportedTime: str + availabilityState: Union[str, ResourceHealthAvailabilityState] category: Union[str, ResourceHealthCategory] - detailed_status: str + detailedStatus: str error: str - health_state: Union[str, HealthState] - reason_chronicity: Union[str, ResourceHealthReasonChronicity] - reason_type: Union[str, ResourceHealthReasonType] - reported_at: str + healthState: Union[str, HealthState] + reasonChronicity: Union[str, ResourceHealthReasonChronicity] + reasonType: Union[str, ResourceHealthReasonType] + reportedAt: str summary: str value: float @@ -2914,19 +2937,19 @@ namespace azure.mgmt.cloudhealth.types key "signalKind": Required[Literal[SignalKind.AZURE_RESOURCE_METRIC]] key "status": ForwardRef('SignalStatus', module='types') key "timeGrain": str - aggregation_type: Union[str, MetricAggregationType] - data_unit: str - dimension_filter: str - display_name: str - evaluation_rules: EvaluationRule - metric_name: str - metric_namespace: str + aggregationType: Union[str, MetricAggregationType] + dataUnit: str + dimensionFilter: str + displayName: str + evaluationRules: EvaluationRule + metricName: str + metricNamespace: str name: str - refresh_interval: Union[str, RefreshInterval] - signal_definition_name: str - signal_kind: Literal[SignalKind.AZURE_RESOURCE_METRIC] + refreshInterval: Union[str, RefreshInterval] + signalDefinitionName: str + signalKind: Literal[SignalKind.AZURE_RESOURCE_METRIC] status: SignalStatus - time_grain: str + timeGrain: str class azure.mgmt.cloudhealth.types.AzureResourceSignals(TypedDict, total=False): @@ -2934,24 +2957,24 @@ namespace azure.mgmt.cloudhealth.types key "azureResourceId": Required[str] key "azureResourceKind": str key "resourceHealth": ForwardRef('AzureResourceHealthSignal', module='types') - authentication_setting: str - azure_resource_id: str - azure_resource_kind: str - resource_health: AzureResourceHealthSignal + authenticationSetting: str + azureResourceId: str + azureResourceKind: str + resourceHealth: AzureResourceHealthSignal signals: list[AzureResourceSignal] class azure.mgmt.cloudhealth.types.DependenciesSignalGroupV2(TypedDict, total=False): - key "aggregationType": Required[Union[str, DependenciesAggregationType]] + key "aggregationType": Required[Union[str, AggregationType]] key "degradedThreshold": float key "ignoreUnknown": bool key "unhealthyThreshold": float - key "unit": Union[str, DependenciesAggregationUnit] - aggregation_type: Union[str, DependenciesAggregationType] - degraded_threshold: float - ignore_unknown: bool - unhealthy_threshold: float - unit: Union[str, DependenciesAggregationUnit] + key "unit": Union[str, AggregationUnit] + aggregationType: Union[str, AggregationType] + degradedThreshold: float + ignoreUnknown: bool + unhealthyThreshold: float + unit: Union[str, AggregationUnit] class azure.mgmt.cloudhealth.types.DiscoveryError(TypedDict, total=False): @@ -2969,7 +2992,7 @@ namespace azure.mgmt.cloudhealth.types id: str name: str properties: DiscoveryRuleProperties - system_data: SystemData + systemData: SystemData type: str @@ -2984,18 +3007,18 @@ namespace azure.mgmt.cloudhealth.types key "authenticationSetting": Required[str] key "discoverRelationships": Required[Union[str, DiscoveryRuleRelationshipDiscoveryBehavior]] key "displayName": str - key "entityName": Required[str] + key "entityName": str key "error": ForwardRef('DiscoveryError', module='types') key "provisioningState": Union[str, HealthModelProvisioningState] key "specification": Required[DiscoveryRuleSpecification] - add_recommended_signals: Union[str, DiscoveryRuleRecommendedSignalsBehavior] - add_resource_health_signal: Union[str, ResourceHealthAvailabilityStateSignalBehavior] - authentication_setting: str - discover_relationships: Union[str, DiscoveryRuleRelationshipDiscoveryBehavior] - display_name: str - entity_name: str + addRecommendedSignals: Union[str, DiscoveryRuleRecommendedSignalsBehavior] + addResourceHealthSignal: Union[str, ResourceHealthAvailabilityStateSignalBehavior] + authenticationSetting: str + discoverRelationships: Union[str, DiscoveryRuleRelationshipDiscoveryBehavior] + displayName: str + entityName: str error: DiscoveryError - provisioning_state: Union[str, HealthModelProvisioningState] + provisioningState: Union[str, HealthModelProvisioningState] specification: DiscoveryRuleSpecification @@ -3008,7 +3031,7 @@ namespace azure.mgmt.cloudhealth.types id: str name: str properties: EntityProperties - system_data: SystemData + systemData: SystemData type: str @@ -3031,9 +3054,9 @@ namespace azure.mgmt.cloudhealth.types key "nextMarker": str key "startAt": str key "top": int - end_at: str - next_marker: str - start_at: str + endAt: str + nextMarker: str + startAt: str top: int @@ -3049,23 +3072,24 @@ namespace azure.mgmt.cloudhealth.types key "provisioningState": Union[str, HealthModelProvisioningState] key "signalGroups": ForwardRef('SignalGroups', module='types') alerts: EntityAlerts - canvas_position: EntityCoordinates - discovered_by: str - display_name: str - health_objective: float - health_state: Union[str, HealthState] + canvasPosition: EntityCoordinates + discoveredBy: str + displayName: str + healthObjective: float + healthState: Union[str, HealthState] icon: IconDefinition impact: Union[str, EntityImpact] - provisioning_state: Union[str, HealthModelProvisioningState] - signal_groups: SignalGroups + provisioningState: Union[str, HealthModelProvisioningState] + signalAggregationGroups: list[SignalAggregationGroup] + signalGroups: SignalGroups tags: dict[str, str] class azure.mgmt.cloudhealth.types.EvaluationRule(TypedDict, total=False): key "degradedRule": ForwardRef('ThresholdRuleV2', module='types') key "unhealthyRule": Required[ThresholdRuleV2] - degraded_rule: ThresholdRuleV2 - unhealthy_rule: ThresholdRuleV2 + degradedRule: ThresholdRuleV2 + unhealthyRule: ThresholdRuleV2 class azure.mgmt.cloudhealth.types.ExternalSignal(TypedDict, total=False): @@ -3074,10 +3098,10 @@ namespace azure.mgmt.cloudhealth.types key "signalDefinitionName": str key "signalKind": Required[Literal[SignalKind.EXTERNAL_SIGNAL]] key "status": ForwardRef('SignalStatus', module='types') - evaluation_rules: EvaluationRule + evaluationRules: EvaluationRule name: str - signal_definition_name: str - signal_kind: Literal[SignalKind.EXTERNAL_SIGNAL] + signalDefinitionName: str + signalKind: Literal[SignalKind.EXTERNAL_SIGNAL] status: SignalStatus @@ -3090,9 +3114,9 @@ namespace azure.mgmt.cloudhealth.types key "nextMarker": str key "startAt": str key "top": int - end_at: str - next_marker: str - start_at: str + endAt: str + nextMarker: str + startAt: str top: int @@ -3109,14 +3133,14 @@ namespace azure.mgmt.cloudhealth.types location: str name: str properties: HealthModelProperties - system_data: SystemData + systemData: SystemData tags: dict[str, str] type: str class azure.mgmt.cloudhealth.types.HealthModelProperties(TypedDict, total=False): key "provisioningState": Union[str, HealthModelProvisioningState] - provisioning_state: Union[str, HealthModelProvisioningState] + provisioningState: Union[str, HealthModelProvisioningState] class azure.mgmt.cloudhealth.types.HealthModelUpdate(TypedDict, total=False): @@ -3128,8 +3152,8 @@ namespace azure.mgmt.cloudhealth.types class azure.mgmt.cloudhealth.types.HealthReportEvaluationRule(TypedDict, total=False): key "degradedRule": ForwardRef('ThresholdRuleV2', module='types') key "unhealthyRule": Required[ThresholdRuleV2] - degraded_rule: ThresholdRuleV2 - unhealthy_rule: ThresholdRuleV2 + degradedRule: ThresholdRuleV2 + unhealthyRule: ThresholdRuleV2 class azure.mgmt.cloudhealth.types.HealthReportRequest(TypedDict, total=False): @@ -3139,19 +3163,19 @@ namespace azure.mgmt.cloudhealth.types key "healthState": Required[Union[str, HealthState]] key "signalName": Required[str] key "value": float - additional_context: str - evaluation_rules: HealthReportEvaluationRule - expires_in_minutes: int - health_state: Union[str, HealthState] - signal_name: str + additionalContext: str + evaluationRules: HealthReportEvaluationRule + expiresInMinutes: int + healthState: Union[str, HealthState] + signalName: str value: float class azure.mgmt.cloudhealth.types.IconDefinition(TypedDict, total=False): key "customData": str key "iconName": Required[str] - custom_data: str - icon_name: str + customData: str + iconName: str class azure.mgmt.cloudhealth.types.LogAnalyticsQuerySignalDefinitionProperties(TypedDict, total=False): @@ -3164,16 +3188,16 @@ namespace azure.mgmt.cloudhealth.types key "signalKind": Required[Literal[SignalKind.LOG_ANALYTICS_QUERY]] key "timeGrain": str key "valueColumnName": str - data_unit: str - display_name: str - evaluation_rules: EvaluationRule - provisioning_state: Union[str, HealthModelProvisioningState] - query_text: str - refresh_interval: Union[str, RefreshInterval] - signal_kind: Literal[SignalKind.LOG_ANALYTICS_QUERY] + dataUnit: str + displayName: str + evaluationRules: EvaluationRule + provisioningState: Union[str, HealthModelProvisioningState] + queryText: str + refreshInterval: Union[str, RefreshInterval] + signalKind: Literal[SignalKind.LOG_ANALYTICS_QUERY] tags: dict[str, str] - time_grain: str - value_column_name: str + timeGrain: str + valueColumnName: str class azure.mgmt.cloudhealth.types.LogAnalyticsSignal(TypedDict, total=False): @@ -3188,24 +3212,24 @@ namespace azure.mgmt.cloudhealth.types key "status": ForwardRef('SignalStatus', module='types') key "timeGrain": str key "valueColumnName": str - data_unit: str - display_name: str - evaluation_rules: EvaluationRule + dataUnit: str + displayName: str + evaluationRules: EvaluationRule name: str - query_text: str - refresh_interval: Union[str, RefreshInterval] - signal_definition_name: str - signal_kind: Literal[SignalKind.LOG_ANALYTICS_QUERY] + queryText: str + refreshInterval: Union[str, RefreshInterval] + signalDefinitionName: str + signalKind: Literal[SignalKind.LOG_ANALYTICS_QUERY] status: SignalStatus - time_grain: str - value_column_name: str + timeGrain: str + valueColumnName: str class azure.mgmt.cloudhealth.types.LogAnalyticsSignals(TypedDict, total=False): key "authenticationSetting": Required[str] key "logAnalyticsWorkspaceResourceId": Required[str] - authentication_setting: str - log_analytics_workspace_resource_id: str + authenticationSetting: str + logAnalyticsWorkspaceResourceId: str signals: list[LogAnalyticsSignal] @@ -3214,21 +3238,20 @@ namespace azure.mgmt.cloudhealth.types key "displayName": str key "managedIdentityName": Required[str] key "provisioningState": Union[str, HealthModelProvisioningState] - authentication_kind: Literal[AuthenticationKind.MANAGED_IDENTITY] - display_name: str - managed_identity_name: str - provisioning_state: Union[str, HealthModelProvisioningState] + authenticationKind: Literal[AuthenticationKind.MANAGED_IDENTITY] + displayName: str + managedIdentityName: str + provisioningState: Union[str, HealthModelProvisioningState] class azure.mgmt.cloudhealth.types.ManagedServiceIdentity(TypedDict, total=False): key "principalId": str key "tenantId": str key "type": Required[Union[str, ManagedServiceIdentityType]] - principal_id: str - tenant_id: str + principalId: str + tenantId: str type: Union[str, ManagedServiceIdentityType] userAssignedIdentities: dict[str, UserAssignedIdentity] - user_assigned_identities: dict[str, UserAssignedIdentity] class azure.mgmt.cloudhealth.types.PrometheusMetricsSignal(TypedDict, total=False): @@ -3242,16 +3265,16 @@ namespace azure.mgmt.cloudhealth.types key "signalKind": Required[Literal[SignalKind.PROMETHEUS_METRICS_QUERY]] key "status": ForwardRef('SignalStatus', module='types') key "timeGrain": str - data_unit: str - display_name: str - evaluation_rules: EvaluationRule + dataUnit: str + displayName: str + evaluationRules: EvaluationRule name: str - query_text: str - refresh_interval: Union[str, RefreshInterval] - signal_definition_name: str - signal_kind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] + queryText: str + refreshInterval: Union[str, RefreshInterval] + signalDefinitionName: str + signalKind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] status: SignalStatus - time_grain: str + timeGrain: str class azure.mgmt.cloudhealth.types.PrometheusMetricsSignalDefinitionProperties(TypedDict, total=False): @@ -3263,15 +3286,15 @@ namespace azure.mgmt.cloudhealth.types key "refreshInterval": Union[str, RefreshInterval] key "signalKind": Required[Literal[SignalKind.PROMETHEUS_METRICS_QUERY]] key "timeGrain": str - data_unit: str - display_name: str - evaluation_rules: EvaluationRule - provisioning_state: Union[str, HealthModelProvisioningState] - query_text: str - refresh_interval: Union[str, RefreshInterval] - signal_kind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] + dataUnit: str + displayName: str + evaluationRules: EvaluationRule + provisioningState: Union[str, HealthModelProvisioningState] + queryText: str + refreshInterval: Union[str, RefreshInterval] + signalKind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] tags: dict[str, str] - time_grain: str + timeGrain: str class azure.mgmt.cloudhealth.types.ProxyResource(Resource): @@ -3281,7 +3304,7 @@ namespace azure.mgmt.cloudhealth.types key "type": str id: str name: str - system_data: SystemData + systemData: SystemData type: str @@ -3294,7 +3317,7 @@ namespace azure.mgmt.cloudhealth.types id: str name: str properties: RelationshipProperties - system_data: SystemData + systemData: SystemData type: str @@ -3304,11 +3327,11 @@ namespace azure.mgmt.cloudhealth.types key "displayName": str key "parentEntityName": Required[str] key "provisioningState": Union[str, HealthModelProvisioningState] - child_entity_name: str - discovered_by: str - display_name: str - parent_entity_name: str - provisioning_state: Union[str, HealthModelProvisioningState] + childEntityName: str + discoveredBy: str + displayName: str + parentEntityName: str + provisioningState: Union[str, HealthModelProvisioningState] tags: dict[str, str] @@ -3319,7 +3342,7 @@ namespace azure.mgmt.cloudhealth.types key "type": str id: str name: str - system_data: SystemData + systemData: SystemData type: str @@ -3327,7 +3350,7 @@ namespace azure.mgmt.cloudhealth.types key "kind": Required[Literal[DiscoveryRuleKind.RESOURCE_GRAPH_QUERY]] key "resourceGraphQuery": Required[str] kind: Literal[DiscoveryRuleKind.RESOURCE_GRAPH_QUERY] - resource_graph_query: str + resourceGraphQuery: str class azure.mgmt.cloudhealth.types.ResourceMetricSignalDefinitionProperties(TypedDict, total=False): @@ -3342,18 +3365,40 @@ namespace azure.mgmt.cloudhealth.types key "refreshInterval": Union[str, RefreshInterval] key "signalKind": Required[Literal[SignalKind.AZURE_RESOURCE_METRIC]] key "timeGrain": Required[str] - aggregation_type: Union[str, MetricAggregationType] - data_unit: str - dimension_filter: str - display_name: str - evaluation_rules: EvaluationRule - metric_name: str - metric_namespace: str - provisioning_state: Union[str, HealthModelProvisioningState] - refresh_interval: Union[str, RefreshInterval] - signal_kind: Literal[SignalKind.AZURE_RESOURCE_METRIC] + aggregationType: Union[str, MetricAggregationType] + dataUnit: str + dimensionFilter: str + displayName: str + evaluationRules: EvaluationRule + metricName: str + metricNamespace: str + provisioningState: Union[str, HealthModelProvisioningState] + refreshInterval: Union[str, RefreshInterval] + signalKind: Literal[SignalKind.AZURE_RESOURCE_METRIC] tags: dict[str, str] - time_grain: str + timeGrain: str + + + class azure.mgmt.cloudhealth.types.SignalAggregationGroup(TypedDict, total=False): + key "aggregatedHealthState": Union[str, HealthState] + key "aggregationType": Union[str, AggregationType] + key "degradedThreshold": float + key "displayName": str + key "ignoreUnknown": bool + key "members": Required[list[str]] + key "name": Required[str] + key "unhealthyThreshold": float + key "unit": Union[str, AggregationUnit] + aggregatedHealthState: Union[str, HealthState] + aggregationType: Union[str, AggregationType] + degradedThreshold: float + displayName: str + ignoreUnknown: bool + members: list[str] + name: str + unhealthyThreshold: float + unit: Union[str, AggregationUnit] + unresolvedMembers: list[str] class azure.mgmt.cloudhealth.types.SignalDefinition(ProxyResource): @@ -3365,7 +3410,7 @@ namespace azure.mgmt.cloudhealth.types id: str name: str properties: SignalDefinitionProperties - system_data: SystemData + systemData: SystemData type: str @@ -3375,9 +3420,9 @@ namespace azure.mgmt.cloudhealth.types key "azureResource": ForwardRef('AzureResourceSignals', module='types') key "dependencies": ForwardRef('DependenciesSignalGroupV2', module='types') key "external": ForwardRef('ExternalSignalGroup', module='types') - azure_log_analytics: LogAnalyticsSignals - azure_monitor_workspace: AzureMonitorWorkspaceSignals - azure_resource: AzureResourceSignals + azureLogAnalytics: LogAnalyticsSignals + azureMonitorWorkspace: AzureMonitorWorkspaceSignals + azureResource: AzureResourceSignals dependencies: DependenciesSignalGroupV2 external: ExternalSignalGroup @@ -3388,10 +3433,10 @@ namespace azure.mgmt.cloudhealth.types key "signalName": Required[str] key "startAt": str key "top": int - end_at: str - next_marker: str - signal_name: str - start_at: str + endAt: str + nextMarker: str + signalName: str + startAt: str top: int @@ -3408,10 +3453,10 @@ namespace azure.mgmt.cloudhealth.types key "healthState": Union[str, HealthState] key "reportedAt": str key "value": float - additional_context: str + additionalContext: str error: str - health_state: Union[str, HealthState] - reported_at: str + healthState: Union[str, HealthState] + reportedAt: str value: float @@ -3422,20 +3467,18 @@ namespace azure.mgmt.cloudhealth.types key "lastModifiedAt": str key "lastModifiedBy": str key "lastModifiedByType": Union[str, CreatedByType] - created_at: str - created_by: str - created_by_type: Union[str, CreatedByType] - last_modified_at: str - last_modified_by: str - last_modified_by_type: Union[str, CreatedByType] + createdAt: str + createdBy: str + createdByType: Union[str, CreatedByType] + lastModifiedAt: str + lastModifiedBy: str + lastModifiedByType: Union[str, CreatedByType] class azure.mgmt.cloudhealth.types.ThresholdRuleV2(TypedDict, total=False): - key "lookBackWindow": Union[str, LookBackWindow] key "operator": Required[Union[str, SignalOperator]] key "sensitivity": Union[str, DynamicThresholdSensitivity] key "threshold": float - look_back_window: Union[str, LookBackWindow] operator: Union[str, SignalOperator] sensitivity: Union[str, DynamicThresholdSensitivity] threshold: float @@ -3450,7 +3493,7 @@ namespace azure.mgmt.cloudhealth.types id: str location: str name: str - system_data: SystemData + systemData: SystemData tags: dict[str, str] type: str @@ -3458,8 +3501,8 @@ namespace azure.mgmt.cloudhealth.types class azure.mgmt.cloudhealth.types.UserAssignedIdentity(TypedDict, total=False): key "clientId": str key "principalId": str - client_id: str - principal_id: str + clientId: str + principalId: str ``` \ No newline at end of file diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/api.metadata.yml b/sdk/cloudhealth/azure-mgmt-cloudhealth/api.metadata.yml index 173873c5f23a..c67508fe4478 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/api.metadata.yml +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/api.metadata.yml @@ -1,3 +1,3 @@ -apiMdSha256: 52568c59f35d4ce9390230f26208dd65ec6e73dc2ed810cbe8b0199a5e963ddc -parserVersion: 0.3.28 -pythonVersion: 3.13.14 +apiMdSha256: d2792dd2e1314bd267ff0a2f24f636579d50df47d1f6d18e122f1cd4da5ee9dd +parserVersion: 0.3.31 +pythonVersion: 3.13.15 diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/apiview-properties.json b/sdk/cloudhealth/azure-mgmt-cloudhealth/apiview-properties.json index b45918d59f28..e2f7e4d443d0 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/apiview-properties.json +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/apiview-properties.json @@ -57,6 +57,7 @@ "azure.mgmt.cloudhealth.models.RelationshipProperties": "Microsoft.CloudHealth.RelationshipProperties", "azure.mgmt.cloudhealth.models.ResourceGraphQuerySpecification": "Microsoft.CloudHealth.ResourceGraphQuerySpecification", "azure.mgmt.cloudhealth.models.ResourceMetricSignalDefinitionProperties": "Microsoft.CloudHealth.ResourceMetricSignalDefinitionProperties", + "azure.mgmt.cloudhealth.models.SignalAggregationGroup": "Microsoft.CloudHealth.SignalAggregationGroup", "azure.mgmt.cloudhealth.models.SignalConfiguration": "Microsoft.CloudHealth.SignalConfiguration", "azure.mgmt.cloudhealth.models.SignalDefinition": "Microsoft.CloudHealth.SignalDefinition", "azure.mgmt.cloudhealth.models.SignalGroups": "Microsoft.CloudHealth.SignalGroups", @@ -76,7 +77,6 @@ "azure.mgmt.cloudhealth.models.RefreshInterval": "Microsoft.CloudHealth.RefreshInterval", "azure.mgmt.cloudhealth.models.SignalOperator": "Microsoft.CloudHealth.SignalOperator", "azure.mgmt.cloudhealth.models.DynamicThresholdSensitivity": "Microsoft.CloudHealth.DynamicThresholdSensitivity", - "azure.mgmt.cloudhealth.models.LookBackWindow": "Microsoft.CloudHealth.LookBackWindow", "azure.mgmt.cloudhealth.models.MetricAggregationType": "Microsoft.CloudHealth.MetricAggregationType", "azure.mgmt.cloudhealth.models.AuthenticationKind": "Microsoft.CloudHealth.AuthenticationKind", "azure.mgmt.cloudhealth.models.EntityImpact": "Microsoft.CloudHealth.EntityImpact", @@ -86,8 +86,8 @@ "azure.mgmt.cloudhealth.models.ResourceHealthCategory": "Microsoft.CloudHealth.ResourceHealthCategory", "azure.mgmt.cloudhealth.models.ResourceHealthReasonType": "Microsoft.CloudHealth.ResourceHealthReasonType", "azure.mgmt.cloudhealth.models.ResourceHealthReasonChronicity": "Microsoft.CloudHealth.ResourceHealthReasonChronicity", - "azure.mgmt.cloudhealth.models.DependenciesAggregationType": "Microsoft.CloudHealth.DependenciesAggregationType", - "azure.mgmt.cloudhealth.models.DependenciesAggregationUnit": "Microsoft.CloudHealth.DependenciesAggregationUnit", + "azure.mgmt.cloudhealth.models.AggregationType": "Microsoft.CloudHealth.AggregationType", + "azure.mgmt.cloudhealth.models.AggregationUnit": "Microsoft.CloudHealth.AggregationUnit", "azure.mgmt.cloudhealth.models.AlertSeverity": "Microsoft.CloudHealth.AlertSeverity", "azure.mgmt.cloudhealth.models.DiscoveryRuleRelationshipDiscoveryBehavior": "Microsoft.CloudHealth.DiscoveryRuleRelationshipDiscoveryBehavior", "azure.mgmt.cloudhealth.models.DiscoveryRuleRecommendedSignalsBehavior": "Microsoft.CloudHealth.DiscoveryRuleRecommendedSignalsBehavior", @@ -159,5 +159,5 @@ "azure.mgmt.cloudhealth.operations.DiscoveryRulesOperations.list_by_health_model": "Microsoft.CloudHealth.DiscoveryRules.listByHealthModel", "azure.mgmt.cloudhealth.aio.operations.DiscoveryRulesOperations.list_by_health_model": "Microsoft.CloudHealth.DiscoveryRules.listByHealthModel" }, - "CrossLanguageVersion": "4de26ae5b426" + "CrossLanguageVersion": "940b1668864e" } \ No newline at end of file diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_client.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_client.py index 3c55ae26f915..916d722a800c 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_client.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_client.py @@ -39,7 +39,7 @@ from azure.core.credentials import TokenCredential -class CloudHealthMgmtClient: # pylint: disable=too-many-instance-attributes +class CloudHealthMgmtClient: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """CloudHealthMgmtClient. :ivar operations: Operations operations @@ -67,7 +67,7 @@ class CloudHealthMgmtClient: # pylint: disable=too-many-instance-attributes None. :paramtype cloud_setting: ~azure.core.AzureClouds :keyword api_version: The API version to use for this operation. Known values are - "2026-05-01-preview" and None. Default value is None. If not set, the operation's default API + "2026-09-01-preview" and None. Default value is None. If not set, the operation's default API version will be used. Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_configuration.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_configuration.py index 6f8dfde685ae..8a510364691a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_configuration.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials import TokenCredential -class CloudHealthMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes +class CloudHealthMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for CloudHealthMgmtClient. Note that all parameters used to create this instance are saved as instance @@ -34,7 +35,7 @@ class CloudHealthMgmtClientConfiguration: # pylint: disable=too-many-instance-a None. :type cloud_setting: ~azure.core.AzureClouds :keyword api_version: The API version to use for this operation. Known values are - "2026-05-01-preview" and None. Default value is None. If not set, the operation's default API + "2026-09-01-preview" and None. Default value is None. If not set, the operation's default API version will be used. Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str @@ -48,7 +49,7 @@ def __init__( cloud_setting: Optional["AzureClouds"] = None, **kwargs: Any ) -> None: - api_version: str = kwargs.pop("api_version", "2026-05-01-preview") + api_version: str = kwargs.pop("api_version", "2026-09-01-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_patch.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_patch.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/model_base.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/model_base.py index b93f5120d517..35d5fc024978 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/model_base.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/model_base.py @@ -158,7 +158,15 @@ def _is_readonly(p): class SdkJSONEncoder(JSONEncoder): - """A JSON encoder that's capable of serializing datetime objects and bytes.""" + """A JSON encoder that's capable of serializing datetime objects and bytes. + + :param args: Additional positional arguments passed to the base ``JSONEncoder``. + :type args: typing.Any + :keyword exclude_readonly: Whether to exclude readonly properties. Defaults to False. + :paramtype exclude_readonly: bool + :keyword format: The format to use for serialization. Defaults to None. + :paramtype format: typing.Optional[str] + """ def __init__(self, *args, exclude_readonly: bool = False, format: typing.Optional[str] = None, **kwargs): super().__init__(*args, **kwargs) @@ -342,6 +350,12 @@ def _deserialize_int_as_str(attr): return int(attr) +def _deserialize_bool_as_str(attr): + if isinstance(attr, bool): + return attr + return attr.lower() == "true" + + _DESERIALIZE_MAPPING = { datetime: _deserialize_datetime, date: _deserialize_date, @@ -369,6 +383,8 @@ def _deserialize_int_as_str(attr): def get_deserializer(annotation: typing.Any, rf: typing.Optional["_RestField"] = None): if annotation is int and rf and rf._format == "str": return _deserialize_int_as_str + if annotation is bool and rf and rf._format == "str": + return _deserialize_bool_as_str if annotation is str and rf and rf._format in _ARRAY_ENCODE_MAPPING: return functools.partial(_deserialize_array_encoded, _ARRAY_ENCODE_MAPPING[rf._format]) if rf and rf._format: @@ -458,21 +474,21 @@ def __ne__(self, other: typing.Any) -> bool: def keys(self) -> typing.KeysView[str]: """ - :returns: a set-like object providing a view on D's keys + :returns: a set-like object providing a view on the mapping's keys :rtype: ~typing.KeysView """ return self._data.keys() def values(self) -> typing.ValuesView[typing.Any]: """ - :returns: an object providing a view on D's values + :returns: an object providing a view on the mapping's values :rtype: ~typing.ValuesView """ return self._data.values() def items(self) -> typing.ItemsView[str, typing.Any]: """ - :returns: set-like object providing a view on D's items + :returns: a set-like object providing a view on the mapping's items :rtype: ~typing.ItemsView """ return self._data.items() @@ -482,7 +498,7 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any: Get the value for key if key is in the dictionary, else default. :param str key: The key to look up. :param any default: The value to return if key is not in the dictionary. Defaults to None - :returns: D[k] if k in D, else d. + :returns: The value for key if key is in the dictionary, else default. :rtype: any """ try: @@ -517,19 +533,19 @@ def popitem(self) -> tuple[str, typing.Any]: Removes and returns some (key, value) pair :returns: The (key, value) pair. :rtype: tuple - :raises KeyError: if D is empty. + :raises KeyError: if the dictionary is empty. """ return self._data.popitem() def clear(self) -> None: """ - Remove all items from D. + Remove all items from the dictionary. """ self._data.clear() def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: # pylint: disable=arguments-differ """ - Updates D from mapping/iterable E and F. + Update the dictionary from a mapping or an iterable of key-value pairs. :param any args: Either a mapping object or an iterable of key-value pairs. """ self._data.update(*args, **kwargs) @@ -542,10 +558,11 @@ def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... # pylint def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any: """ - Same as calling D.get(k, d), and setting D[k]=d if k not found + Return the value for key if key is in the dictionary; otherwise set the key to + default and return default. :param str key: The key to look up. :param any default: The value to set if key is not in the dictionary - :returns: D[k] if k in D, else d. + :returns: The value for key if key is in the dictionary, else default. :rtype: any """ if default is _UNSET: diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/serialization.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/serialization.py index 75906e2eb77f..ae08f9d89f74 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/serialization.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_utils/serialization.py @@ -480,7 +480,11 @@ def _decode_attribute_map_key(key): class Serializer: # pylint: disable=too-many-public-methods - """Request object model serializer.""" + """Request object model serializer. + + :param classes: Mapping of model names to model types, used to resolve models during serialization. + :type classes: typing.Optional[typing.Mapping[str, type]] + """ basic_types = {str: "str", int: "int", bool: "bool", float: "float"} diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_version.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_version.py index c43fdbc2e239..22553b18fb7e 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_version.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b3" +VERSION = "1.0.0b4" diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_client.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_client.py index 2ffff6dd3cd0..2928b5a110fe 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_client.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_client.py @@ -39,7 +39,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class CloudHealthMgmtClient: # pylint: disable=too-many-instance-attributes +class CloudHealthMgmtClient: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """CloudHealthMgmtClient. :ivar operations: Operations operations @@ -67,7 +67,7 @@ class CloudHealthMgmtClient: # pylint: disable=too-many-instance-attributes None. :paramtype cloud_setting: ~azure.core.AzureClouds :keyword api_version: The API version to use for this operation. Known values are - "2026-05-01-preview" and None. Default value is None. If not set, the operation's default API + "2026-09-01-preview" and None. Default value is None. If not set, the operation's default API version will be used. Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_configuration.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_configuration.py index 594c287cc3c0..293bed801539 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_configuration.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_configuration.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -18,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class CloudHealthMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes +class CloudHealthMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,docstring-keyword-should-match-keyword-only """Configuration for CloudHealthMgmtClient. Note that all parameters used to create this instance are saved as instance @@ -34,7 +35,7 @@ class CloudHealthMgmtClientConfiguration: # pylint: disable=too-many-instance-a None. :type cloud_setting: ~azure.core.AzureClouds :keyword api_version: The API version to use for this operation. Known values are - "2026-05-01-preview" and None. Default value is None. If not set, the operation's default API + "2026-09-01-preview" and None. Default value is None. If not set, the operation's default API version will be used. Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str @@ -48,7 +49,7 @@ def __init__( cloud_setting: Optional["AzureClouds"] = None, **kwargs: Any ) -> None: - api_version: str = kwargs.pop("api_version", "2026-05-01-preview") + api_version: str = kwargs.pop("api_version", "2026-09-01-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_patch.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_patch.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_operations.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_operations.py index 12dfa74192c3..a7a23986f091 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_operations.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_operations.py @@ -80,7 +80,7 @@ List = list -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -190,7 +190,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class HealthModelsOperations: +class HealthModelsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1060,7 +1060,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class SignalDefinitionsOperations: +class SignalDefinitionsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1166,7 +1166,7 @@ async def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _create_or_update_initial( self, @@ -1357,7 +1357,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_create_or_update( self, @@ -1450,7 +1450,7 @@ def get_long_running_output(pipeline_response): "signal_definition_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _delete_initial( self, resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any @@ -1526,7 +1526,7 @@ async def _delete_initial( "signal_definition_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_delete( self, resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any @@ -1704,7 +1704,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class AuthenticationSettingsOperations: +class AuthenticationSettingsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1810,7 +1810,7 @@ async def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _create_or_update_initial( self, @@ -2004,7 +2004,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_create_or_update( self, @@ -2098,7 +2098,7 @@ def get_long_running_output(pipeline_response): "authentication_setting_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _delete_initial( self, resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any @@ -2174,7 +2174,7 @@ async def _delete_initial( "authentication_setting_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_delete( self, resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any @@ -2342,7 +2342,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class EntitiesOperations: +class EntitiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2447,7 +2447,7 @@ async def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _create_or_update_initial( self, @@ -2635,7 +2635,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_create_or_update( self, @@ -2727,7 +2727,7 @@ def get_long_running_output(pipeline_response): "entity_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _delete_initial( self, resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any @@ -2803,7 +2803,7 @@ async def _delete_initial( "entity_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_delete( self, resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any @@ -3082,7 +3082,7 @@ async def get_history( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def get_history( self, @@ -3281,7 +3281,7 @@ async def get_signal_history( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def get_signal_history( self, @@ -3479,7 +3479,7 @@ async def ingest_health_report( "content_type", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def ingest_health_report( self, @@ -3665,7 +3665,7 @@ async def add_data_annotation( "accept", ] }, - api_versions_list=["2026-05-01-preview"], + api_versions_list=["2026-05-01-preview", "2026-09-01-preview"], ) async def add_data_annotation( self, @@ -3867,7 +3867,7 @@ async def get_data_annotations( "accept", ] }, - api_versions_list=["2026-05-01-preview"], + api_versions_list=["2026-05-01-preview", "2026-09-01-preview"], ) async def get_data_annotations( self, @@ -3976,7 +3976,7 @@ async def get_data_annotations( "accept", ] }, - api_versions_list=["2026-05-01-preview"], + api_versions_list=["2026-05-01-preview", "2026-09-01-preview"], ) async def get_signal_recommendations( self, resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any @@ -4055,7 +4055,7 @@ async def get_signal_recommendations( return deserialized # type: ignore -class RelationshipsOperations: +class RelationshipsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4162,7 +4162,7 @@ async def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _create_or_update_initial( self, @@ -4356,7 +4356,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_create_or_update( self, @@ -4450,7 +4450,7 @@ def get_long_running_output(pipeline_response): "relationship_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _delete_initial( self, resource_group_name: str, health_model_name: str, relationship_name: str, **kwargs: Any @@ -4526,7 +4526,7 @@ async def _delete_initial( "relationship_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_delete( self, resource_group_name: str, health_model_name: str, relationship_name: str, **kwargs: Any @@ -4704,7 +4704,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) -class DiscoveryRulesOperations: +class DiscoveryRulesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -4810,7 +4810,7 @@ async def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _create_or_update_initial( self, @@ -5001,7 +5001,7 @@ async def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_create_or_update( self, @@ -5094,7 +5094,7 @@ def get_long_running_output(pipeline_response): "discovery_rule_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def _delete_initial( self, resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any @@ -5170,7 +5170,7 @@ async def _delete_initial( "discovery_rule_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) async def begin_delete( self, resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_patch.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_patch.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/aio/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/__init__.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/__init__.py index 6603ca83d266..7a7d21f78091 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/__init__.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/__init__.py @@ -67,6 +67,7 @@ Resource, ResourceGraphQuerySpecification, ResourceMetricSignalDefinitionProperties, + SignalAggregationGroup, SignalConfiguration, SignalDefinition, SignalDefinitionProperties, @@ -84,11 +85,11 @@ from ._enums import ( # type: ignore ActionType, + AggregationType, + AggregationUnit, AlertSeverity, AuthenticationKind, CreatedByType, - DependenciesAggregationType, - DependenciesAggregationUnit, DiscoveryRuleKind, DiscoveryRuleRecommendedSignalsBehavior, DiscoveryRuleRelationshipDiscoveryBehavior, @@ -96,7 +97,6 @@ EntityImpact, HealthModelProvisioningState, HealthState, - LookBackWindow, ManagedServiceIdentityType, MetricAggregationType, Origin, @@ -167,6 +167,7 @@ "Resource", "ResourceGraphQuerySpecification", "ResourceMetricSignalDefinitionProperties", + "SignalAggregationGroup", "SignalConfiguration", "SignalDefinition", "SignalDefinitionProperties", @@ -181,11 +182,11 @@ "TrackedResource", "UserAssignedIdentity", "ActionType", + "AggregationType", + "AggregationUnit", "AlertSeverity", "AuthenticationKind", "CreatedByType", - "DependenciesAggregationType", - "DependenciesAggregationUnit", "DiscoveryRuleKind", "DiscoveryRuleRecommendedSignalsBehavior", "DiscoveryRuleRelationshipDiscoveryBehavior", @@ -193,7 +194,6 @@ "EntityImpact", "HealthModelProvisioningState", "HealthState", - "LookBackWindow", "ManagedServiceIdentityType", "MetricAggregationType", "Origin", diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_enums.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_enums.py index 2727506ded26..475834f2cb7b 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_enums.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_enums.py @@ -19,6 +19,30 @@ class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Actions are for internal-only APIs.""" +class AggregationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Aggregation strategy for combining a set of health states into one.""" + + WORST_OF = "WorstOf" + """Worst health state across members is propagated. Default behavior.""" + BEST_OF = "BestOf" + """Best (least severe) health state across the non-Unknown members is propagated. Unknown members + are excluded from the selection; if every member is Unknown the group resolves to Unknown. The + 'ignoreUnknown' flag has no observable effect for this strategy and is documented as such.""" + MIN_HEALTHY = "MinHealthy" + """Healthy if the count/percentage of healthy members meets the threshold.""" + MAX_NOT_HEALTHY = "MaxNotHealthy" + """Healthy if the count/percentage of not-healthy members stays below the threshold.""" + + +class AggregationUnit(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """Unit type for the thresholds used by threshold-bearing aggregation strategies.""" + + ABSOLUTE = "Absolute" + """Threshold is an absolute count of members.""" + PERCENTAGE = "Percentage" + """Threshold is a percentage of members (0-100).""" + + class AlertSeverity(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Severity of an alert.""" @@ -54,26 +78,6 @@ class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The entity was created by a key.""" -class DependenciesAggregationType(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Aggregation type for child dependencies.""" - - WORST_OF = "WorstOf" - """Default behavior: Worst child health state is propagated.""" - MIN_HEALTHY = "MinHealthy" - """Healthy if the count/percentage of healthy children meets the threshold.""" - MAX_NOT_HEALTHY = "MaxNotHealthy" - """Healthy if the count/percentage of not-healthy children stays below the threshold.""" - - -class DependenciesAggregationUnit(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Unit type for dependency aggregation thresholds.""" - - ABSOLUTE = "Absolute" - """Threshold is an absolute count of entities.""" - PERCENTAGE = "Percentage" - """Threshold is a percentage of entities (0-100).""" - - class DiscoveryRuleKind(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Discovery rule specification kind discriminator.""" @@ -155,19 +159,6 @@ class HealthState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Deleted status.""" -class LookBackWindow(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Allowed look-back window durations for dynamic threshold computation.""" - - PT5_M = "PT5M" - """Five minutes.""" - PT15_M = "PT15M" - """Fifteen minutes.""" - PT30_M = "PT30M" - """Thirty minutes.""" - PT1_H = "PT1H" - """One hour.""" - - class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_models.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_models.py index aacd5450f170..9cba86c198ef 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_models.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_models.py @@ -18,7 +18,7 @@ from .. import models as _models -class AddDataAnnotationRequest(_Model): +class AddDataAnnotationRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request body for adding a data annotation. :ivar annotation_details: Annotation details as a dynamic key-value pair bag. Service-enforced @@ -57,7 +57,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AlertConfiguration(_Model): +class AlertConfiguration(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Alert configuration details. :ivar severity: The severity of triggered alert. Required. Known values are: "Sev0", "Sev1", @@ -102,7 +102,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DiscoveryRuleSpecification(_Model): +class DiscoveryRuleSpecification(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Base model for discovery rule specifications. You probably want to use the sub-classes and not this class directly. Known sub-classes are: @@ -136,7 +136,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ApplicationInsightsTopologySpecification(DiscoveryRuleSpecification, discriminator="ApplicationInsightsTopology"): +class ApplicationInsightsTopologySpecification( + DiscoveryRuleSpecification, discriminator="ApplicationInsightsTopology" +): # pylint: disable=docstring-keyword-should-match-keyword-only """Discovery rule specification for an Application Insights topology query. :ivar kind: Kind of the discovery rule specification. Required. Application Insights topology @@ -218,7 +220,7 @@ class ProxyResource(Resource): """ -class AuthenticationSetting(ProxyResource): +class AuthenticationSetting(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """An authentication setting in a health model. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -259,7 +261,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AuthenticationSettingProperties(_Model): +class AuthenticationSettingProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Authentication setting properties. You probably want to use the sub-classes and not this class directly. Known sub-classes are: @@ -308,7 +310,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AzureMonitorWorkspaceSignals(_Model): +class AzureMonitorWorkspaceSignals(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A grouping of Azure Monitor workspace signals. :ivar authentication_setting: Reference to the name of the authentication setting which is used @@ -354,7 +356,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AzureResourceHealthSignal(_Model): +class AzureResourceHealthSignal(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Azure resource health signal configuration. :ivar enabled: Whether to automatically add a signal for the Azure resource's availability @@ -396,7 +398,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AzureResourceHealthSignalStatus(_Model): +class AzureResourceHealthSignalStatus(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Status of an Azure Resource Health signal, including availability information reported by Azure Resource Health. @@ -494,7 +496,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalInstanceProperties(_Model): +class SignalInstanceProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Additional properties for signal instances assigned to an entity. You probably want to use the sub-classes and not this class directly. Known sub-classes are: @@ -545,7 +547,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class AzureResourceSignal(SignalInstanceProperties, discriminator="AzureResourceMetric"): +class AzureResourceSignal( + SignalInstanceProperties, discriminator="AzureResourceMetric" +): # pylint: disable=docstring-keyword-should-match-keyword-only """An Azure Resource Metric signal instance assigned to an entity. :ivar name: Unique name of the signal within the entity. Required. @@ -647,7 +651,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.signal_kind = SignalKind.AZURE_RESOURCE_METRIC # type: ignore -class AzureResourceSignals(_Model): +class AzureResourceSignals(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A grouping of Azure resource signals. :ivar authentication_setting: Reference to the name of the authentication setting which is used @@ -711,7 +715,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DataAnnotation(_Model): +class DataAnnotation(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A single data annotation on an entity. :ivar annotation_id: Auto-assigned identifier for the annotation. @@ -758,12 +762,12 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DependenciesSignalGroupV2(_Model): +class DependenciesSignalGroupV2(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Properties for dependent entities, i.e. child entities. :ivar aggregation_type: Aggregation type for child dependencies. Required. Known values are: - "WorstOf", "MinHealthy", and "MaxNotHealthy". - :vartype aggregation_type: str or ~azure.mgmt.cloudhealth.models.DependenciesAggregationType + "WorstOf", "BestOf", "MinHealthy", and "MaxNotHealthy". + :vartype aggregation_type: str or ~azure.mgmt.cloudhealth.models.AggregationType :ivar degraded_threshold: Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not @@ -776,16 +780,16 @@ class DependenciesSignalGroupV2(_Model): :vartype unhealthy_threshold: float :ivar unit: Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy. Known values are: "Absolute" and "Percentage". - :vartype unit: str or ~azure.mgmt.cloudhealth.models.DependenciesAggregationUnit + :vartype unit: str or ~azure.mgmt.cloudhealth.models.AggregationUnit :ivar ignore_unknown: If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true. :vartype ignore_unknown: bool """ - aggregation_type: Union[str, "_models.DependenciesAggregationType"] = rest_field( + aggregation_type: Union[str, "_models.AggregationType"] = rest_field( name="aggregationType", visibility=["read", "create", "update", "delete", "query"] ) - """Aggregation type for child dependencies. Required. Known values are: \"WorstOf\", + """Aggregation type for child dependencies. Required. Known values are: \"WorstOf\", \"BestOf\", \"MinHealthy\", and \"MaxNotHealthy\".""" degraded_threshold: Optional[float] = rest_field( name="degradedThreshold", visibility=["read", "create", "update", "delete", "query"] @@ -801,7 +805,7 @@ class DependenciesSignalGroupV2(_Model): count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy.""" - unit: Optional[Union[str, "_models.DependenciesAggregationUnit"]] = rest_field( + unit: Optional[Union[str, "_models.AggregationUnit"]] = rest_field( visibility=["read", "create", "update", "delete", "query"] ) """Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or @@ -816,10 +820,10 @@ class DependenciesSignalGroupV2(_Model): def __init__( self, *, - aggregation_type: Union[str, "_models.DependenciesAggregationType"], + aggregation_type: Union[str, "_models.AggregationType"], degraded_threshold: Optional[float] = None, unhealthy_threshold: Optional[float] = None, - unit: Optional[Union[str, "_models.DependenciesAggregationUnit"]] = None, + unit: Optional[Union[str, "_models.AggregationUnit"]] = None, ignore_unknown: Optional[bool] = None, ) -> None: ... @@ -849,7 +853,7 @@ class DiscoveryError(_Model): """Additional context information, like resource IDs or query details.""" -class DiscoveryRule(ProxyResource): +class DiscoveryRule(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """A discovery rule which automatically finds entities and relationships in a health model based on an Azure Resource Graph query. @@ -891,7 +895,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class DiscoveryRuleProperties(_Model): +class DiscoveryRuleProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Discovery rule properties. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -925,7 +929,7 @@ class DiscoveryRuleProperties(_Model): :ivar error: Error details if the last discovery operation failed. :vartype error: ~azure.mgmt.cloudhealth.models.DiscoveryError :ivar entity_name: Name of the entity which represents the discovery rule. Note: It might take - a few minutes after creating the discovery rule until the entity is created. Required. + a few minutes after creating the discovery rule until the entity is created. :vartype entity_name: str """ @@ -969,9 +973,9 @@ class DiscoveryRuleProperties(_Model): values are: \"Enabled\" and \"Disabled\".""" error: Optional["_models.DiscoveryError"] = rest_field(visibility=["read"]) """Error details if the last discovery operation failed.""" - entity_name: str = rest_field(name="entityName", visibility=["read"]) + entity_name: Optional[str] = rest_field(name="entityName", visibility=["read"]) """Name of the entity which represents the discovery rule. Note: It might take a few minutes after - creating the discovery rule until the entity is created. Required.""" + creating the discovery rule until the entity is created.""" @overload def __init__( @@ -998,7 +1002,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class Entity(ProxyResource): +class Entity(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """An entity (aka node) of a health model. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -1039,7 +1043,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EntityAlerts(_Model): +class EntityAlerts(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Alert configuration for an entity. :ivar unhealthy: Alert to be triggered on state change to unhealthy. @@ -1076,7 +1080,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EntityCoordinates(_Model): +class EntityCoordinates(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Visual position of the entity. :ivar x: X Coordinate. Required. @@ -1109,7 +1113,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EntityHistoryRequest(_Model): +class EntityHistoryRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request body for getting entity health history. :ivar start_at: Start time for the history query. Defaults to 24 hours ago if not specified. @@ -1160,7 +1164,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EntityHistoryResponse(_Model): +class EntityHistoryResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Response containing entity health state transitions. :ivar entity_name: Name of the entity. Required. @@ -1204,7 +1208,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EntityProperties(_Model): +class EntityProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Properties which are common across all kinds of entities. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -1225,6 +1229,13 @@ class EntityProperties(_Model): :vartype tags: dict[str, str] :ivar signal_groups: Signal groups which are assigned to this entity. :vartype signal_groups: ~azure.mgmt.cloudhealth.models.SignalGroups + :ivar signal_aggregation_groups: Logical aggregation groups over the signals on this entity. + Overlap is allowed: the same signal may appear in more than one group's members. Each group is + evaluated independently according to its strategy, and a shared signal can contribute to + multiple group states and related per-group telemetry. Group states contribute alongside any + ungrouped signals and the dependency-aggregated child health to the entity's overall worst-of + composite. + :vartype signal_aggregation_groups: list[~azure.mgmt.cloudhealth.models.SignalAggregationGroup] :ivar discovered_by: Discovered by which discovery rule. If set, the entity cannot be deleted manually. :vartype discovered_by: str @@ -1265,6 +1276,14 @@ class EntityProperties(_Model): name="signalGroups", visibility=["read", "create", "update", "delete", "query"] ) """Signal groups which are assigned to this entity.""" + signal_aggregation_groups: Optional[list["_models.SignalAggregationGroup"]] = rest_field( + name="signalAggregationGroups", visibility=["read", "create", "update", "delete", "query"] + ) + """Logical aggregation groups over the signals on this entity. Overlap is allowed: the same signal + may appear in more than one group's members. Each group is evaluated independently according to + its strategy, and a shared signal can contribute to multiple group states and related per-group + telemetry. Group states contribute alongside any ungrouped signals and the + dependency-aggregated child health to the entity's overall worst-of composite.""" discovered_by: Optional[str] = rest_field(name="discoveredBy", visibility=["read"]) """Discovered by which discovery rule. If set, the entity cannot be deleted manually.""" health_state: Optional[Union[str, "_models.HealthState"]] = rest_field(name="healthState", visibility=["read"]) @@ -1284,6 +1303,7 @@ def __init__( impact: Optional[Union[str, "_models.EntityImpact"]] = None, tags: Optional[dict[str, str]] = None, signal_groups: Optional["_models.SignalGroups"] = None, + signal_aggregation_groups: Optional[list["_models.SignalAggregationGroup"]] = None, alerts: Optional["_models.EntityAlerts"] = None, ) -> None: ... @@ -1342,7 +1362,7 @@ class ErrorDetail(_Model): """The error additional info.""" -class ErrorResponse(_Model): +class ErrorResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Error response. :ivar error: The error object. @@ -1370,7 +1390,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class EvaluationRule(_Model): +class EvaluationRule(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Evaluation rule for a signal definition. :ivar degraded_rule: Degraded rule with static threshold. @@ -1407,7 +1427,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ExternalSignal(SignalInstanceProperties, discriminator="External"): +class ExternalSignal( + SignalInstanceProperties, discriminator="External" +): # pylint: disable=docstring-keyword-should-match-keyword-only """An externally submitted signal instance assigned to an entity. :ivar name: Unique name of the signal within the entity. Required. @@ -1462,7 +1484,7 @@ class ExternalSignalGroup(_Model): """Signals assigned to this signal group.""" -class GetDataAnnotationsRequest(_Model): +class GetDataAnnotationsRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request body for querying data annotations. :ivar start_at: Start of UTC time range. Defaults to 24 hours ago if not specified. @@ -1513,7 +1535,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class GetDataAnnotationsResponse(_Model): +class GetDataAnnotationsResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Response containing data annotations for an entity. :ivar entity_name: Name of the entity. Required. @@ -1555,7 +1577,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class GetSignalRecommendationsResponse(_Model): +class GetSignalRecommendationsResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Response from ``getSignalRecommendations`` containing two independent suggestion streams for the Azure resource type represented by the target Entity. ``recommendedSignals`` lists signals broadly recommended to be enabled by default; ``recommendedConfigurations`` lists additional @@ -1609,7 +1631,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class TrackedResource(Resource): +class TrackedResource(Resource): # pylint: disable=docstring-keyword-should-match-keyword-only """Tracked Resource. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -1653,7 +1675,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HealthModel(TrackedResource): +class HealthModel(TrackedResource): # pylint: disable=docstring-keyword-should-match-keyword-only """A HealthModel resource. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -1722,7 +1744,7 @@ class HealthModelProperties(_Model): \"Creating\", and \"Deleting\".""" -class HealthModelUpdate(_Model): +class HealthModelUpdate(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """The type used for update operations of the HealthModel. :ivar identity: The managed service identities assigned to this resource. @@ -1757,7 +1779,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HealthReportEvaluationRule(_Model): +class HealthReportEvaluationRule(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Evaluation rules for the health report. :ivar degraded_rule: Degraded rule with static threshold. @@ -1794,7 +1816,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HealthReportRequest(_Model): +class HealthReportRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Health report that's submitted for a specific signal. :ivar signal_name: Name of the entity signal to report health for. Required. @@ -1858,7 +1880,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class HealthStateTransition(_Model): +class HealthStateTransition(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A health state transition record. :ivar previous_state: Previous health state before the transition. Required. Known values are: @@ -1911,7 +1933,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class IconDefinition(_Model): +class IconDefinition(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Visual icon definition of an entity. :ivar icon_name: Name of the built-in icon, or 'Custom' to use customData. Required. @@ -1947,7 +1969,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalDefinitionProperties(_Model): +class SignalDefinitionProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """SignalDefinition properties. You probably want to use the sub-classes and not this class directly. Known sub-classes are: @@ -2025,7 +2047,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class LogAnalyticsQuerySignalDefinitionProperties( SignalDefinitionProperties, discriminator="LogAnalyticsQuery" -): # pylint: disable=name-too-long +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Log Analytics Query Signal Definition properties. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -2094,7 +2116,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.signal_kind = SignalKind.LOG_ANALYTICS_QUERY # type: ignore -class LogAnalyticsSignal(SignalInstanceProperties, discriminator="LogAnalyticsQuery"): +class LogAnalyticsSignal( + SignalInstanceProperties, discriminator="LogAnalyticsQuery" +): # pylint: disable=docstring-keyword-should-match-keyword-only """A Log Analytics Query signal instance assigned to an entity. :ivar name: Unique name of the signal within the entity. Required. @@ -2181,7 +2205,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.signal_kind = SignalKind.LOG_ANALYTICS_QUERY # type: ignore -class LogAnalyticsSignals(_Model): +class LogAnalyticsSignals(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A grouping of Log Analytics workspace signals. :ivar authentication_setting: Reference to the name of the authentication setting which is used @@ -2229,7 +2253,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ManagedIdentityAuthenticationSettingProperties( AuthenticationSettingProperties, discriminator="ManagedIdentity" -): # pylint: disable=name-too-long +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Authentication setting properties for Azure Managed Identity. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -2272,7 +2296,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.authentication_kind = AuthenticationKind.MANAGED_IDENTITY # type: ignore -class ManagedServiceIdentity(_Model): +class ManagedServiceIdentity(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Managed service identity (system assigned and/or user assigned identities). :ivar principal_id: The service principal ID of the system assigned identity. This property @@ -2324,7 +2348,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class Operation(_Model): +class Operation(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """REST API Operation. :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: @@ -2412,7 +2436,9 @@ class OperationDisplay(_Model): views.""" -class PrometheusMetricsSignal(SignalInstanceProperties, discriminator="PrometheusMetricsQuery"): +class PrometheusMetricsSignal( + SignalInstanceProperties, discriminator="PrometheusMetricsQuery" +): # pylint: disable=docstring-keyword-should-match-keyword-only """A Prometheus Metrics Query signal instance assigned to an entity. :ivar name: Unique name of the signal within the entity. Required. @@ -2489,7 +2515,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class PrometheusMetricsSignalDefinitionProperties( SignalDefinitionProperties, discriminator="PrometheusMetricsQuery" -): # pylint: disable=name-too-long +): # pylint: disable=name-too-long,docstring-keyword-should-match-keyword-only """Prometheus Metrics Signal Definition properties. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -2546,7 +2572,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.signal_kind = SignalKind.PROMETHEUS_METRICS_QUERY # type: ignore -class Relationship(ProxyResource): +class Relationship(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """A relationship (aka edge) between two entities in a health model. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -2587,7 +2613,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class RelationshipProperties(_Model): +class RelationshipProperties(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Relationship properties. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -2645,7 +2671,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ResourceGraphQuerySpecification(DiscoveryRuleSpecification, discriminator="ResourceGraphQuery"): +class ResourceGraphQuerySpecification( + DiscoveryRuleSpecification, discriminator="ResourceGraphQuery" +): # pylint: disable=docstring-keyword-should-match-keyword-only """Discovery rule specification for an Azure Resource Graph query. :ivar kind: Kind of the discovery rule specification. Required. Azure Resource Graph query @@ -2684,7 +2712,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.kind = DiscoveryRuleKind.RESOURCE_GRAPH_QUERY # type: ignore -class ResourceMetricSignalDefinitionProperties(SignalDefinitionProperties, discriminator="AzureResourceMetric"): +class ResourceMetricSignalDefinitionProperties( + SignalDefinitionProperties, discriminator="AzureResourceMetric" +): # pylint: disable=docstring-keyword-should-match-keyword-only """Azure Resource Metric Signal Definition properties. :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -2766,7 +2796,135 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.signal_kind = SignalKind.AZURE_RESOURCE_METRIC # type: ignore -class SignalConfiguration(_Model): +class SignalAggregationGroup(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only + """A logical group of signals on an entity, evaluated under a configurable aggregation strategy. + Groups are independent even when they share members. Each group's aggregated state is one of + the inputs to the entity's composite health computation alongside any signals not declared in + any group's members[]. + + :ivar name: Name of the aggregation group. Unique within the entity. Required. + :vartype name: str + :ivar display_name: Display name. + :vartype display_name: str + :ivar aggregation_type: Aggregation strategy applied across the members of this group. Known + values are: "WorstOf", "BestOf", "MinHealthy", and "MaxNotHealthy". + :vartype aggregation_type: str or ~azure.mgmt.cloudhealth.models.AggregationType + :ivar members: Names of signals on this entity which are members of the group. Members are + matched by name; references to signals that do not currently exist on the entity are accepted + (typically for pre-declared external signals) and surfaced via 'unresolvedMembers'. A signal + may be listed in multiple groups; no duplicates within this list. Required. + :vartype members: list[str] + :ivar degraded_threshold: Degraded threshold for threshold-bearing strategies (MinHealthy, + MaxNotHealthy). For MinHealthy: group is degraded when the healthy member count/percentage + falls to or below this value. For MaxNotHealthy: group is degraded when the not-healthy member + count/percentage reaches or exceeds this value. Optional — if not set, the group transitions + directly between Healthy and Unhealthy. MUST NOT be set when aggregationType is WorstOf or + BestOf. + :vartype degraded_threshold: float + :ivar unhealthy_threshold: Unhealthy threshold for threshold-bearing strategies. Required when + aggregationType is MinHealthy or MaxNotHealthy; MUST NOT be set otherwise. + :vartype unhealthy_threshold: float + :ivar unit: Unit type for the thresholds. Required when aggregationType is MinHealthy or + MaxNotHealthy; MUST NOT be set otherwise. Known values are: "Absolute" and "Percentage". + :vartype unit: str or ~azure.mgmt.cloudhealth.models.AggregationUnit + :ivar ignore_unknown: If true (default), members reporting Unknown are excluded from the + aggregation. For MinHealthy and MaxNotHealthy this flag affects the denominator/count and is + meaningful. For WorstOf and BestOf the flag has no observable effect: under WorstOf, Unknown=0 + is the lowest severity and can never beat any non-Unknown member in a Max() so filtering it + changes nothing observable; under BestOf, Unknown is unconditionally excluded by the strategy + itself irrespective of the flag. The flag is retained on the contract for vocabulary symmetry + across all four strategies. + :vartype ignore_unknown: bool + :ivar aggregated_health_state: Computed aggregated health state of the group as of the last + entity evaluation. Unknown if no resolvable members or all members filtered out. Known values + are: "Healthy", "Degraded", "Unhealthy", "Unknown", and "Deleted". + :vartype aggregated_health_state: str or ~azure.mgmt.cloudhealth.models.HealthState + :ivar unresolved_members: Members listed in 'members' that do not currently resolve to a signal + on this entity at the time of the last entity evaluation. Treated as Unknown during + aggregation. Empty/omitted when every member resolves. + :vartype unresolved_members: list[str] + """ + + name: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """Name of the aggregation group. Unique within the entity. Required.""" + display_name: Optional[str] = rest_field( + name="displayName", visibility=["read", "create", "update", "delete", "query"] + ) + """Display name.""" + aggregation_type: Optional[Union[str, "_models.AggregationType"]] = rest_field( + name="aggregationType", visibility=["read", "create", "update", "delete", "query"] + ) + """Aggregation strategy applied across the members of this group. Known values are: \"WorstOf\", + \"BestOf\", \"MinHealthy\", and \"MaxNotHealthy\".""" + members: list[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + """Names of signals on this entity which are members of the group. Members are matched by name; + references to signals that do not currently exist on the entity are accepted (typically for + pre-declared external signals) and surfaced via 'unresolvedMembers'. A signal may be listed in + multiple groups; no duplicates within this list. Required.""" + degraded_threshold: Optional[float] = rest_field( + name="degradedThreshold", visibility=["read", "create", "update", "delete", "query"] + ) + """Degraded threshold for threshold-bearing strategies (MinHealthy, MaxNotHealthy). For + MinHealthy: group is degraded when the healthy member count/percentage falls to or below this + value. For MaxNotHealthy: group is degraded when the not-healthy member count/percentage + reaches or exceeds this value. Optional — if not set, the group transitions directly between + Healthy and Unhealthy. MUST NOT be set when aggregationType is WorstOf or BestOf.""" + unhealthy_threshold: Optional[float] = rest_field( + name="unhealthyThreshold", visibility=["read", "create", "update", "delete", "query"] + ) + """Unhealthy threshold for threshold-bearing strategies. Required when aggregationType is + MinHealthy or MaxNotHealthy; MUST NOT be set otherwise.""" + unit: Optional[Union[str, "_models.AggregationUnit"]] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) + """Unit type for the thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy; + MUST NOT be set otherwise. Known values are: \"Absolute\" and \"Percentage\".""" + ignore_unknown: Optional[bool] = rest_field( + name="ignoreUnknown", visibility=["read", "create", "update", "delete", "query"] + ) + """If true (default), members reporting Unknown are excluded from the aggregation. For MinHealthy + and MaxNotHealthy this flag affects the denominator/count and is meaningful. For WorstOf and + BestOf the flag has no observable effect: under WorstOf, Unknown=0 is the lowest severity and + can never beat any non-Unknown member in a Max() so filtering it changes nothing observable; + under BestOf, Unknown is unconditionally excluded by the strategy itself irrespective of the + flag. The flag is retained on the contract for vocabulary symmetry across all four strategies.""" + aggregated_health_state: Optional[Union[str, "_models.HealthState"]] = rest_field( + name="aggregatedHealthState", visibility=["read"] + ) + """Computed aggregated health state of the group as of the last entity evaluation. Unknown if no + resolvable members or all members filtered out. Known values are: \"Healthy\", \"Degraded\", + \"Unhealthy\", \"Unknown\", and \"Deleted\".""" + unresolved_members: Optional[list[str]] = rest_field(name="unresolvedMembers", visibility=["read"]) + """Members listed in 'members' that do not currently resolve to a signal on this entity at the + time of the last entity evaluation. Treated as Unknown during aggregation. Empty/omitted when + every member resolves.""" + + @overload + def __init__( + self, + *, + name: str, + members: list[str], + display_name: Optional[str] = None, + aggregation_type: Optional[Union[str, "_models.AggregationType"]] = None, + degraded_threshold: Optional[float] = None, + unhealthy_threshold: Optional[float] = None, + unit: Optional[Union[str, "_models.AggregationUnit"]] = None, + ignore_unknown: Optional[bool] = None, + ) -> None: ... + + @overload + def __init__(self, mapping: Mapping[str, Any]) -> None: + """ + :param mapping: raw JSON to initialize the model. + :type mapping: Mapping[str, Any] + """ + + def __init__(self, *args: Any, **kwargs: Any) -> None: + super().__init__(*args, **kwargs) + + +class SignalConfiguration(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A signal configuration for an Azure resource type. :ivar signal_id: Unique identifier of the recommended signal configuration. Required. @@ -2841,7 +2999,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalDefinition(ProxyResource): +class SignalDefinition(ProxyResource): # pylint: disable=docstring-keyword-should-match-keyword-only """A signal definition in a health model. :ivar id: Fully qualified resource ID for the resource. Ex - @@ -2882,7 +3040,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalGroups(_Model): +class SignalGroups(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Contains various signal groups that can be assigned to an entity. :ivar azure_resource: Azure Resource Signal Group. @@ -2939,7 +3097,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalHistoryDataPoint(_Model): +class SignalHistoryDataPoint(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """A data point in the signal time series. :ivar occurred_at: Timestamp of the data point. Required. @@ -2990,7 +3148,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalHistoryRequest(_Model): +class SignalHistoryRequest(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Request body for getting signal history. :ivar signal_name: Name of the signal to get history for. Required. @@ -3046,7 +3204,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalHistoryResponse(_Model): +class SignalHistoryResponse(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Response containing signal history. :ivar entity_name: Name of the entity. Required. @@ -3095,7 +3253,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SignalStatus(_Model): +class SignalStatus(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Status of a signal. :ivar health_state: Health state of this signal. Known values are: "Healthy", "Degraded", @@ -3143,7 +3301,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class SystemData(_Model): +class SystemData(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Metadata pertaining to creation and last modification of the resource. :ivar created_by: The identity that created the resource. @@ -3210,7 +3368,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) -class ThresholdRuleV2(_Model): +class ThresholdRuleV2(_Model): # pylint: disable=docstring-keyword-should-match-keyword-only """Threshold-based evaluation rule for a signal definition. :ivar operator: Operator how to compare the signal value with the threshold. Required. Known @@ -3222,10 +3380,6 @@ class ThresholdRuleV2(_Model): :ivar sensitivity: Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic. Known values are: "Low", "Medium", and "High". :vartype sensitivity: str or ~azure.mgmt.cloudhealth.models.DynamicThresholdSensitivity - :ivar look_back_window: ISO 8601 duration for the historical look-back window used by dynamic - threshold computation. Only applicable when operator is Dynamic. Known values are: "PT5M", - "PT15M", "PT30M", and "PT1H". - :vartype look_back_window: str or ~azure.mgmt.cloudhealth.models.LookBackWindow """ operator: Union[str, "_models.SignalOperator"] = rest_field( @@ -3241,12 +3395,6 @@ class ThresholdRuleV2(_Model): ) """Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic. Known values are: \"Low\", \"Medium\", and \"High\".""" - look_back_window: Optional[Union[str, "_models.LookBackWindow"]] = rest_field( - name="lookBackWindow", visibility=["read", "create", "update", "delete", "query"] - ) - """ISO 8601 duration for the historical look-back window used by dynamic threshold computation. - Only applicable when operator is Dynamic. Known values are: \"PT5M\", \"PT15M\", \"PT30M\", and - \"PT1H\".""" @overload def __init__( @@ -3255,7 +3403,6 @@ def __init__( operator: Union[str, "_models.SignalOperator"], threshold: Optional[float] = None, sensitivity: Optional[Union[str, "_models.DynamicThresholdSensitivity"]] = None, - look_back_window: Optional[Union[str, "_models.LookBackWindow"]] = None, ) -> None: ... @overload diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_patch.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_patch.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/models/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_operations.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_operations.py index e06c69b8b8ec..5eaf6995bac0 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_operations.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_operations.py @@ -51,7 +51,7 @@ def build_operations_list_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -72,7 +72,7 @@ def build_health_models_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -101,7 +101,7 @@ def build_health_models_create_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -132,7 +132,7 @@ def build_health_models_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -161,7 +161,7 @@ def build_health_models_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}" path_format_arguments = { @@ -184,7 +184,7 @@ def build_health_models_list_by_resource_group_request( # pylint: disable=name- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -211,7 +211,7 @@ def build_health_models_list_by_subscription_request( # pylint: disable=name-to _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -237,7 +237,7 @@ def build_signal_definitions_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -267,7 +267,7 @@ def build_signal_definitions_create_or_update_request( # pylint: disable=name-t _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -297,7 +297,7 @@ def build_signal_definitions_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}" path_format_arguments = { @@ -326,7 +326,7 @@ def build_signal_definitions_list_by_health_model_request( # pylint: disable=na _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -360,7 +360,7 @@ def build_authentication_settings_get_request( # pylint: disable=name-too-long _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -394,7 +394,7 @@ def build_authentication_settings_create_or_update_request( # pylint: disable=n _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -428,7 +428,7 @@ def build_authentication_settings_delete_request( # pylint: disable=name-too-lo ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}" path_format_arguments = { @@ -452,7 +452,7 @@ def build_authentication_settings_list_by_health_model_request( # pylint: disab _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -480,7 +480,7 @@ def build_entities_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -510,7 +510,7 @@ def build_entities_create_or_update_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -540,7 +540,7 @@ def build_entities_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}" path_format_arguments = { @@ -569,7 +569,7 @@ def build_entities_list_by_health_model_request( # pylint: disable=name-too-lon _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -600,7 +600,7 @@ def build_entities_get_history_request( _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -632,7 +632,7 @@ def build_entities_get_signal_history_request( # pylint: disable=name-too-long _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -664,7 +664,7 @@ def build_entities_ingest_health_report_request( # pylint: disable=name-too-lon _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/ingestHealthReport" path_format_arguments = { @@ -693,7 +693,7 @@ def build_entities_add_data_annotation_request( # pylint: disable=name-too-long _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -725,7 +725,7 @@ def build_entities_get_data_annotations_request( # pylint: disable=name-too-lon _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -756,7 +756,7 @@ def build_entities_get_signal_recommendations_request( # pylint: disable=name-t _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -785,7 +785,7 @@ def build_relationships_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -815,7 +815,7 @@ def build_relationships_create_or_update_request( # pylint: disable=name-too-lo _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -845,7 +845,7 @@ def build_relationships_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}" path_format_arguments = { @@ -874,7 +874,7 @@ def build_relationships_list_by_health_model_request( # pylint: disable=name-to _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -904,7 +904,7 @@ def build_discovery_rules_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -934,7 +934,7 @@ def build_discovery_rules_create_or_update_request( # pylint: disable=name-too- _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -964,7 +964,7 @@ def build_discovery_rules_delete_request( ) -> HttpRequest: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) # Construct URL _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}" path_format_arguments = { @@ -993,7 +993,7 @@ def build_discovery_rules_list_by_health_model_request( # pylint: disable=name- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-05-01-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2026-09-01-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -1017,7 +1017,7 @@ def build_discovery_rules_list_by_health_model_request( # pylint: disable=name- return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) -class Operations: +class Operations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1127,7 +1127,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class HealthModelsOperations: +class HealthModelsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -1993,7 +1993,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class SignalDefinitionsOperations: +class SignalDefinitionsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2099,7 +2099,7 @@ def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _create_or_update_initial( self, @@ -2290,7 +2290,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_create_or_update( self, @@ -2383,7 +2383,7 @@ def get_long_running_output(pipeline_response): "signal_definition_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _delete_initial( self, resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any @@ -2459,7 +2459,7 @@ def _delete_initial( "signal_definition_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_delete( self, resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any @@ -2636,7 +2636,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class AuthenticationSettingsOperations: +class AuthenticationSettingsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -2742,7 +2742,7 @@ def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _create_or_update_initial( self, @@ -2933,7 +2933,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_create_or_update( self, @@ -3026,7 +3026,7 @@ def get_long_running_output(pipeline_response): "authentication_setting_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _delete_initial( self, resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any @@ -3102,7 +3102,7 @@ def _delete_initial( "authentication_setting_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_delete( self, resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any @@ -3269,7 +3269,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class EntitiesOperations: +class EntitiesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -3372,7 +3372,7 @@ def get(self, resource_group_name: str, health_model_name: str, entity_name: str "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _create_or_update_initial( self, @@ -3560,7 +3560,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_create_or_update( self, @@ -3652,7 +3652,7 @@ def get_long_running_output(pipeline_response): "entity_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _delete_initial( self, resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any @@ -3728,7 +3728,7 @@ def _delete_initial( "entity_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_delete( self, resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any @@ -4007,7 +4007,7 @@ def get_history( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def get_history( self, @@ -4206,7 +4206,7 @@ def get_signal_history( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def get_signal_history( self, @@ -4404,7 +4404,7 @@ def ingest_health_report( "content_type", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def ingest_health_report( # pylint: disable=inconsistent-return-statements self, @@ -4590,7 +4590,7 @@ def add_data_annotation( "accept", ] }, - api_versions_list=["2026-05-01-preview"], + api_versions_list=["2026-05-01-preview", "2026-09-01-preview"], ) def add_data_annotation( self, @@ -4792,7 +4792,7 @@ def get_data_annotations( "accept", ] }, - api_versions_list=["2026-05-01-preview"], + api_versions_list=["2026-05-01-preview", "2026-09-01-preview"], ) def get_data_annotations( self, @@ -4901,7 +4901,7 @@ def get_data_annotations( "accept", ] }, - api_versions_list=["2026-05-01-preview"], + api_versions_list=["2026-05-01-preview", "2026-09-01-preview"], ) def get_signal_recommendations( self, resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any @@ -4980,7 +4980,7 @@ def get_signal_recommendations( return deserialized # type: ignore -class RelationshipsOperations: +class RelationshipsOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5087,7 +5087,7 @@ def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _create_or_update_initial( self, @@ -5281,7 +5281,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_create_or_update( self, @@ -5375,7 +5375,7 @@ def get_long_running_output(pipeline_response): "relationship_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _delete_initial( self, resource_group_name: str, health_model_name: str, relationship_name: str, **kwargs: Any @@ -5451,7 +5451,7 @@ def _delete_initial( "relationship_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_delete( self, resource_group_name: str, health_model_name: str, relationship_name: str, **kwargs: Any @@ -5629,7 +5629,7 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) -class DiscoveryRulesOperations: +class DiscoveryRulesOperations: # pylint: disable=docstring-missing-param """ .. warning:: **DO NOT** instantiate this class directly. @@ -5735,7 +5735,7 @@ def get( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _create_or_update_initial( self, @@ -5926,7 +5926,7 @@ def begin_create_or_update( "accept", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_create_or_update( self, @@ -6019,7 +6019,7 @@ def get_long_running_output(pipeline_response): "discovery_rule_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def _delete_initial( self, resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any @@ -6095,7 +6095,7 @@ def _delete_initial( "discovery_rule_name", ] }, - api_versions_list=["2026-01-01-preview", "2026-05-01-preview"], + api_versions_list=["2026-01-01-preview", "2026-05-01-preview", "2026-09-01-preview"], ) def begin_delete( self, resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_patch.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_patch.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/types.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/types.py index 41abb33e30ed..2a4e7a40356d 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/types.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/azure/mgmt/cloudhealth/types.py @@ -14,17 +14,16 @@ if TYPE_CHECKING: from .models import ( + AggregationType, + AggregationUnit, AlertSeverity, CreatedByType, - DependenciesAggregationType, - DependenciesAggregationUnit, DiscoveryRuleRecommendedSignalsBehavior, DiscoveryRuleRelationshipDiscoveryBehavior, DynamicThresholdSensitivity, EntityImpact, HealthModelProvisioningState, HealthState, - LookBackWindow, ManagedServiceIdentityType, MetricAggregationType, RefreshInterval, @@ -40,10 +39,10 @@ class AddDataAnnotationRequest(TypedDict, total=False): """Request body for adding a data annotation. - :ivar annotation_details: Annotation details as a dynamic key-value pair bag. Service-enforced + :ivar annotationDetails: Annotation details as a dynamic key-value pair bag. Service-enforced limits: a maximum of 10 entries per annotation and a maximum value length of 256 characters. Requests exceeding these limits will be rejected with a 400 response. Required. - :vartype annotation_details: dict[str, str] + :vartype annotationDetails: dict[str, str] :ivar description: Optional description of the annotation. :vartype description: str """ @@ -64,9 +63,9 @@ class AlertConfiguration(TypedDict, total=False): :vartype severity: Union[str, "AlertSeverity"] :ivar description: The alert rule description. :vartype description: str - :ivar action_group_ids: Optional list of action group resource IDs to be notified when the - alert is triggered. - :vartype action_group_ids: list[str] + :ivar actionGroupIds: Optional list of action group resource IDs to be notified when the alert + is triggered. + :vartype actionGroupIds: list[str] """ severity: Required[Union[str, "AlertSeverity"]] @@ -84,8 +83,8 @@ class ApplicationInsightsTopologySpecification(TypedDict, total=False): :ivar kind: Kind of the discovery rule specification. Required. Application Insights topology based discovery. :vartype kind: Literal[DiscoveryRuleKind.APPLICATION_INSIGHTS_TOPOLOGY] - :ivar application_insights_resource_id: Application Insights resource ID. Required. - :vartype application_insights_resource_id: str + :ivar applicationInsightsResourceId: Application Insights resource ID. Required. + :vartype applicationInsightsResourceId: str """ kind: Required[Literal[DiscoveryRuleKind.APPLICATION_INSIGHTS_TOPOLOGY]] @@ -106,9 +105,9 @@ class Resource(TypedDict, total=False): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" """ id: str @@ -134,9 +133,9 @@ class ProxyResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" """ @@ -151,9 +150,9 @@ class AuthenticationSetting(ProxyResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "AuthenticationSettingProperties" """ @@ -165,11 +164,11 @@ class AuthenticationSetting(ProxyResource): class AzureMonitorWorkspaceSignals(TypedDict, total=False): """A grouping of Azure Monitor workspace signals. - :ivar authentication_setting: Reference to the name of the authentication setting which is used + :ivar authenticationSetting: Reference to the name of the authentication setting which is used for querying the data source. Required. - :vartype authentication_setting: str - :ivar azure_monitor_workspace_resource_id: Azure Monitor workspace resource ID. Required. - :vartype azure_monitor_workspace_resource_id: str + :vartype authenticationSetting: str + :ivar azureMonitorWorkspaceResourceId: Azure Monitor workspace resource ID. Required. + :vartype azureMonitorWorkspaceResourceId: str :ivar signals: Signals assigned to this signal group. :vartype signals: list["PrometheusMetricsSignal"] """ @@ -190,8 +189,8 @@ class AzureResourceHealthSignal(TypedDict, total=False): state from Azure Resource Health. Defaults to Enabled. Known values are: "Enabled" and "Disabled". :vartype enabled: Union[str, "ResourceHealthAvailabilityStateSignalBehavior"] - :ivar signal_name: The unique name of the Azure resource health signal. System assigned. - :vartype signal_name: str + :ivar signalName: The unique name of the Azure resource health signal. System assigned. + :vartype signalName: str :ivar status: Current status of the Azure resource health signal. :vartype status: "AzureResourceHealthSignalStatus" """ @@ -209,38 +208,38 @@ class AzureResourceHealthSignalStatus(TypedDict, total=False): """Status of an Azure Resource Health signal, including availability information reported by Azure Resource Health. - :ivar health_state: Health state of this signal. Known values are: "Healthy", "Degraded", + :ivar healthState: Health state of this signal. Known values are: "Healthy", "Degraded", "Unhealthy", "Unknown", and "Deleted". - :vartype health_state: Union[str, "HealthState"] + :vartype healthState: Union[str, "HealthState"] :ivar value: Reported value of the signal. :vartype value: float - :ivar reported_at: Timestamp when the value was reported. - :vartype reported_at: str + :ivar reportedAt: Timestamp when the value was reported. + :vartype reportedAt: str :ivar error: Error message if the signal status cannot be retrieved. :vartype error: str - :ivar additional_context: Additional context as provided by the submitter. - :vartype additional_context: str - :ivar availability_state: Availability state of the Azure resource as reported by Azure - Resource Health. Known values are: "Available", "Unavailable", "Degraded", and "Unknown". - :vartype availability_state: Union[str, "ResourceHealthAvailabilityState"] + :ivar additionalContext: Additional context as provided by the submitter. + :vartype additionalContext: str + :ivar availabilityState: Availability state of the Azure resource as reported by Azure Resource + Health. Known values are: "Available", "Unavailable", "Degraded", and "Unknown". + :vartype availabilityState: Union[str, "ResourceHealthAvailabilityState"] :ivar category: Whether the status changing event was planned or unplanned. Known values are: "Planned" and "Unplanned". :vartype category: Union[str, "ResourceHealthCategory"] - :ivar detailed_status: Detailed status of the Azure resource as reported by Azure Resource + :ivar detailedStatus: Detailed status of the Azure resource as reported by Azure Resource Health. - :vartype detailed_status: str + :vartype detailedStatus: str :ivar summary: Human-readable summary of the current availability state from Azure Resource Health. :vartype summary: str - :ivar reason_type: Reason type for the current availability state (e.g. 'Unplanned', 'Planned', + :ivar reasonType: Reason type for the current availability state (e.g. 'Unplanned', 'Planned', 'UserInitiated'). Known values are: "Unplanned", "Planned", and "UserInitiated". - :vartype reason_type: Union[str, "ResourceHealthReasonType"] - :ivar reason_chronicity: Whether the current availability state is 'Persistent' or 'Transient'. + :vartype reasonType: Union[str, "ResourceHealthReasonType"] + :ivar reasonChronicity: Whether the current availability state is 'Persistent' or 'Transient'. Known values are: "Persistent" and "Transient". - :vartype reason_chronicity: Union[str, "ResourceHealthReasonChronicity"] - :ivar availability_reported_time: Timestamp when Azure Resource Health observed the current + :vartype reasonChronicity: Union[str, "ResourceHealthReasonChronicity"] + :ivar availabilityReportedTime: Timestamp when Azure Resource Health observed the current availability state. - :vartype availability_reported_time: str + :vartype availabilityReportedTime: str """ healthState: Union[str, "HealthState"] @@ -279,34 +278,34 @@ class AzureResourceSignal(TypedDict, total=False): :ivar name: Unique name of the signal within the entity. Required. :vartype name: str - :ivar signal_definition_name: Optional reference to a signal definition that provides default + :ivar signalDefinitionName: Optional reference to a signal definition that provides default values. - :vartype signal_definition_name: str + :vartype signalDefinitionName: str :ivar status: Current status of the signal. :vartype status: "SignalStatus" - :ivar signal_kind: Kind of the signal instance. Required. AZURE_RESOURCE_METRIC. - :vartype signal_kind: Literal[SignalKind.AZURE_RESOURCE_METRIC] - :ivar metric_namespace: Metric namespace. - :vartype metric_namespace: str - :ivar metric_name: Name of the metric. - :vartype metric_name: str - :ivar time_grain: Time range of signal. ISO duration format like PT10M. - :vartype time_grain: str - :ivar aggregation_type: Type of aggregation to apply to the metric. Known values are: "None", + :ivar signalKind: Kind of the signal instance. Required. AZURE_RESOURCE_METRIC. + :vartype signalKind: Literal[SignalKind.AZURE_RESOURCE_METRIC] + :ivar metricNamespace: Metric namespace. + :vartype metricNamespace: str + :ivar metricName: Name of the metric. + :vartype metricName: str + :ivar timeGrain: Time range of signal. ISO duration format like PT10M. + :vartype timeGrain: str + :ivar aggregationType: Type of aggregation to apply to the metric. Known values are: "None", "Average", "Count", "Minimum", "Maximum", and "Total". - :vartype aggregation_type: Union[str, "MetricAggregationType"] - :ivar dimension_filter: Optional: Dimension filter to apply to the dimension. Must only be set + :vartype aggregationType: Union[str, "MetricAggregationType"] + :ivar dimensionFilter: Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set. - :vartype dimension_filter: str - :ivar display_name: Display name. - :vartype display_name: str - :ivar refresh_interval: Interval in which the signal is being evaluated. Defaults to PT1M (1 + :vartype dimensionFilter: str + :ivar displayName: Display name. + :vartype displayName: str + :ivar refreshInterval: Interval in which the signal is being evaluated. Defaults to PT1M (1 minute). Known values are: "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H", and "PT2H". - :vartype refresh_interval: Union[str, "RefreshInterval"] - :ivar data_unit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). - :vartype data_unit: str - :ivar evaluation_rules: Evaluation rules for the signal definition. - :vartype evaluation_rules: "EvaluationRule" + :vartype refreshInterval: Union[str, "RefreshInterval"] + :ivar dataUnit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). + :vartype dataUnit: str + :ivar evaluationRules: Evaluation rules for the signal definition. + :vartype evaluationRules: "EvaluationRule" """ name: Required[str] @@ -343,19 +342,19 @@ class AzureResourceSignal(TypedDict, total=False): class AzureResourceSignals(TypedDict, total=False): """A grouping of Azure resource signals. - :ivar authentication_setting: Reference to the name of the authentication setting which is used + :ivar authenticationSetting: Reference to the name of the authentication setting which is used for querying the data source. Required. - :vartype authentication_setting: str - :ivar azure_resource_id: Azure resource ID. Required. - :vartype azure_resource_id: str - :ivar azure_resource_kind: Azure resource kind (e.g., 'functionapp'). Populated by the UI for + :vartype authenticationSetting: str + :ivar azureResourceId: Azure resource ID. Required. + :vartype azureResourceId: str + :ivar azureResourceKind: Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated. - :vartype azure_resource_kind: str + :vartype azureResourceKind: str :ivar signals: Signals assigned to this group. :vartype signals: list["AzureResourceSignal"] - :ivar resource_health: Optional configuration for automatically adding a signal based on the + :ivar resourceHealth: Optional configuration for automatically adding a signal based on the resource's availability state in Azure Resource Health. - :vartype resource_health: "AzureResourceHealthSignal" + :vartype resourceHealth: "AzureResourceHealthSignal" """ authenticationSetting: Required[str] @@ -376,29 +375,29 @@ class AzureResourceSignals(TypedDict, total=False): class DependenciesSignalGroupV2(TypedDict, total=False): """Properties for dependent entities, i.e. child entities. - :ivar aggregation_type: Aggregation type for child dependencies. Required. Known values are: - "WorstOf", "MinHealthy", and "MaxNotHealthy". - :vartype aggregation_type: Union[str, "DependenciesAggregationType"] - :ivar degraded_threshold: Degraded threshold for aggregation. For MinHealthy: parent is - degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent - is degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not + :ivar aggregationType: Aggregation type for child dependencies. Required. Known values are: + "WorstOf", "BestOf", "MinHealthy", and "MaxNotHealthy". + :vartype aggregationType: Union[str, "AggregationType"] + :ivar degradedThreshold: Degraded threshold for aggregation. For MinHealthy: parent is degraded + when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is + degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not set, there is no degraded state (transitions directly from Healthy to Unhealthy). - :vartype degraded_threshold: float - :ivar unhealthy_threshold: Unhealthy threshold for aggregation. For MinHealthy: parent is + :vartype degradedThreshold: float + :ivar unhealthyThreshold: Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy. - :vartype unhealthy_threshold: float + :vartype unhealthyThreshold: float :ivar unit: Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy. Known values are: "Absolute" and "Percentage". - :vartype unit: Union[str, "DependenciesAggregationUnit"] - :ivar ignore_unknown: If true, children with Unknown health state are excluded from aggregation + :vartype unit: Union[str, "AggregationUnit"] + :ivar ignoreUnknown: If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true. - :vartype ignore_unknown: bool + :vartype ignoreUnknown: bool """ - aggregationType: Required[Union[str, "DependenciesAggregationType"]] - """Aggregation type for child dependencies. Required. Known values are: \"WorstOf\", + aggregationType: Required[Union[str, "AggregationType"]] + """Aggregation type for child dependencies. Required. Known values are: \"WorstOf\", \"BestOf\", \"MinHealthy\", and \"MaxNotHealthy\".""" degradedThreshold: float """Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy @@ -410,7 +409,7 @@ class DependenciesSignalGroupV2(TypedDict, total=False): count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy.""" - unit: Union[str, "DependenciesAggregationUnit"] + unit: Union[str, "AggregationUnit"] """Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy. Known values are: \"Absolute\" and \"Percentage\".""" ignoreUnknown: bool @@ -445,9 +444,9 @@ class DiscoveryRule(ProxyResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "DiscoveryRuleProperties" """ @@ -459,37 +458,36 @@ class DiscoveryRule(ProxyResource): class DiscoveryRuleProperties(TypedDict, total=False): """Discovery rule properties. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar authentication_setting: Reference to the name of the authentication setting which is used + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar authenticationSetting: Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities. Required. - :vartype authentication_setting: str - :ivar discover_relationships: Whether to create relationships between the discovered entities + :vartype authenticationSetting: str + :ivar discoverRelationships: Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted. Required. Known values are: "Enabled" and "Disabled". - :vartype discover_relationships: Union[str, "DiscoveryRuleRelationshipDiscoveryBehavior"] - :ivar add_recommended_signals: Whether to add all recommended signals to the discovered - entities. Required. Known values are: "Enabled" and "Disabled". - :vartype add_recommended_signals: Union[str, "DiscoveryRuleRecommendedSignalsBehavior"] + :vartype discoverRelationships: Union[str, "DiscoveryRuleRelationshipDiscoveryBehavior"] + :ivar addRecommendedSignals: Whether to add all recommended signals to the discovered entities. + Required. Known values are: "Enabled" and "Disabled". + :vartype addRecommendedSignals: Union[str, "DiscoveryRuleRecommendedSignalsBehavior"] :ivar specification: Specification of the discovery rule defining how entities are discovered. Required. :vartype specification: "DiscoveryRuleSpecification" - :ivar add_resource_health_signal: Whether to automatically add a signal for the Azure - resource's availability state from Azure Resource Health to the discovered entities. Defaults - to ``Enabled``: discovery rules updated via this API version without setting this field will - begin emitting a Resource Health availability signal. Pass ``Disabled`` to preserve + :ivar addResourceHealthSignal: Whether to automatically add a signal for the Azure resource's + availability state from Azure Resource Health to the discovered entities. Defaults to + ``Enabled``: discovery rules updated via this API version without setting this field will begin + emitting a Resource Health availability signal. Pass ``Disabled`` to preserve pre-``2026-05-01-preview`` behavior. Known values are: "Enabled" and "Disabled". - :vartype add_resource_health_signal: Union[str, - "ResourceHealthAvailabilityStateSignalBehavior"] + :vartype addResourceHealthSignal: Union[str, "ResourceHealthAvailabilityStateSignalBehavior"] :ivar error: Error details if the last discovery operation failed. :vartype error: "DiscoveryError" - :ivar entity_name: Name of the entity which represents the discovery rule. Note: It might take - a few minutes after creating the discovery rule until the entity is created. Required. - :vartype entity_name: str + :ivar entityName: Name of the entity which represents the discovery rule. Note: It might take a + few minutes after creating the discovery rule until the entity is created. + :vartype entityName: str """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -518,9 +516,9 @@ class DiscoveryRuleProperties(TypedDict, total=False): values are: \"Enabled\" and \"Disabled\".""" error: "DiscoveryError" """Error details if the last discovery operation failed.""" - entityName: Required[str] + entityName: str """Name of the entity which represents the discovery rule. Note: It might take a few minutes after - creating the discovery rule until the entity is created. Required.""" + creating the discovery rule until the entity is created.""" class Entity(ProxyResource): @@ -534,9 +532,9 @@ class Entity(ProxyResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "EntityProperties" """ @@ -578,15 +576,15 @@ class EntityCoordinates(TypedDict, total=False): class EntityHistoryRequest(TypedDict, total=False): """Request body for getting entity health history. - :ivar start_at: Start time for the history query. Defaults to 24 hours ago if not specified. - :vartype start_at: str - :ivar end_at: End time for the history query. Defaults to now if not specified. - :vartype end_at: str + :ivar startAt: Start time for the history query. Defaults to 24 hours ago if not specified. + :vartype startAt: str + :ivar endAt: End time for the history query. Defaults to now if not specified. + :vartype endAt: str :ivar top: Maximum number of health state transitions to return per page. Defaults to 1000. :vartype top: int - :ivar next_marker: An opaque string value that identifies the portion of the result set to be + :ivar nextMarker: An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt. - :vartype next_marker: str + :vartype nextMarker: str """ startAt: str @@ -603,30 +601,37 @@ class EntityHistoryRequest(TypedDict, total=False): class EntityProperties(TypedDict, total=False): """Properties which are common across all kinds of entities. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar canvas_position: Positioning of the entity on the model canvas. - :vartype canvas_position: "EntityCoordinates" + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar canvasPosition: Positioning of the entity on the model canvas. + :vartype canvasPosition: "EntityCoordinates" :ivar icon: Visual icon definition. If not set, a default icon is used. :vartype icon: "IconDefinition" - :ivar health_objective: Health objective as a percentage of time the entity should be healthy. - :vartype health_objective: float + :ivar healthObjective: Health objective as a percentage of time the entity should be healthy. + :vartype healthObjective: float :ivar impact: Impact of the entity in health state propagation. Known values are: "Standard", "Limited", and "Suppressed". :vartype impact: Union[str, "EntityImpact"] :ivar tags: Optional set of tags (key-value pairs). :vartype tags: dict[str, str] - :ivar signal_groups: Signal groups which are assigned to this entity. - :vartype signal_groups: "SignalGroups" - :ivar discovered_by: Discovered by which discovery rule. If set, the entity cannot be deleted + :ivar signalGroups: Signal groups which are assigned to this entity. + :vartype signalGroups: "SignalGroups" + :ivar signalAggregationGroups: Logical aggregation groups over the signals on this entity. + Overlap is allowed: the same signal may appear in more than one group's members. Each group is + evaluated independently according to its strategy, and a shared signal can contribute to + multiple group states and related per-group telemetry. Group states contribute alongside any + ungrouped signals and the dependency-aggregated child health to the entity's overall worst-of + composite. + :vartype signalAggregationGroups: list["SignalAggregationGroup"] + :ivar discoveredBy: Discovered by which discovery rule. If set, the entity cannot be deleted manually. - :vartype discovered_by: str - :ivar health_state: Health state of this entity. Known values are: "Healthy", "Degraded", + :vartype discoveredBy: str + :ivar healthState: Health state of this entity. Known values are: "Healthy", "Degraded", "Unhealthy", "Unknown", and "Deleted". - :vartype health_state: Union[str, "HealthState"] + :vartype healthState: Union[str, "HealthState"] :ivar alerts: Alert configuration for this entity. :vartype alerts: "EntityAlerts" """ @@ -649,6 +654,12 @@ class EntityProperties(TypedDict, total=False): """Optional set of tags (key-value pairs).""" signalGroups: "SignalGroups" """Signal groups which are assigned to this entity.""" + signalAggregationGroups: list["SignalAggregationGroup"] + """Logical aggregation groups over the signals on this entity. Overlap is allowed: the same signal + may appear in more than one group's members. Each group is evaluated independently according to + its strategy, and a shared signal can contribute to multiple group states and related per-group + telemetry. Group states contribute alongside any ungrouped signals and the + dependency-aggregated child health to the entity's overall worst-of composite.""" discoveredBy: str """Discovered by which discovery rule. If set, the entity cannot be deleted manually.""" healthState: Union[str, "HealthState"] @@ -661,10 +672,10 @@ class EntityProperties(TypedDict, total=False): class EvaluationRule(TypedDict, total=False): """Evaluation rule for a signal definition. - :ivar degraded_rule: Degraded rule with static threshold. - :vartype degraded_rule: "ThresholdRuleV2" - :ivar unhealthy_rule: Unhealthy rule with static threshold. Required. - :vartype unhealthy_rule: "ThresholdRuleV2" + :ivar degradedRule: Degraded rule with static threshold. + :vartype degradedRule: "ThresholdRuleV2" + :ivar unhealthyRule: Unhealthy rule with static threshold. Required. + :vartype unhealthyRule: "ThresholdRuleV2" """ degradedRule: "ThresholdRuleV2" @@ -678,15 +689,15 @@ class ExternalSignal(TypedDict, total=False): :ivar name: Unique name of the signal within the entity. Required. :vartype name: str - :ivar signal_definition_name: Optional reference to a signal definition that provides default + :ivar signalDefinitionName: Optional reference to a signal definition that provides default values. - :vartype signal_definition_name: str + :vartype signalDefinitionName: str :ivar status: Current status of the signal. :vartype status: "SignalStatus" - :ivar signal_kind: Kind of the signal instance. Required. EXTERNAL_SIGNAL. - :vartype signal_kind: Literal[SignalKind.EXTERNAL_SIGNAL] - :ivar evaluation_rules: Evaluation rules for the external signal as submitted. - :vartype evaluation_rules: "EvaluationRule" + :ivar signalKind: Kind of the signal instance. Required. EXTERNAL_SIGNAL. + :vartype signalKind: Literal[SignalKind.EXTERNAL_SIGNAL] + :ivar evaluationRules: Evaluation rules for the external signal as submitted. + :vartype evaluationRules: "EvaluationRule" """ name: Required[str] @@ -715,15 +726,15 @@ class ExternalSignalGroup(TypedDict, total=False): class GetDataAnnotationsRequest(TypedDict, total=False): """Request body for querying data annotations. - :ivar start_at: Start of UTC time range. Defaults to 24 hours ago if not specified. - :vartype start_at: str - :ivar end_at: End of UTC time range. Defaults to now if not specified. - :vartype end_at: str + :ivar startAt: Start of UTC time range. Defaults to 24 hours ago if not specified. + :vartype startAt: str + :ivar endAt: End of UTC time range. Defaults to now if not specified. + :vartype endAt: str :ivar top: Maximum number of annotations to return per page. Defaults to 100. :vartype top: int - :ivar next_marker: An opaque string value that identifies the portion of the result set to be + :ivar nextMarker: An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt. - :vartype next_marker: str + :vartype nextMarker: str """ startAt: str @@ -748,9 +759,9 @@ class TrackedResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. @@ -774,9 +785,9 @@ class HealthModel(TrackedResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. @@ -796,9 +807,9 @@ class HealthModel(TrackedResource): class HealthModelProperties(TypedDict, total=False): """HealthModel properties. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -824,10 +835,10 @@ class HealthModelUpdate(TypedDict, total=False): class HealthReportEvaluationRule(TypedDict, total=False): """Evaluation rules for the health report. - :ivar degraded_rule: Degraded rule with static threshold. - :vartype degraded_rule: "ThresholdRuleV2" - :ivar unhealthy_rule: Unhealthy rule with static threshold. Required. - :vartype unhealthy_rule: "ThresholdRuleV2" + :ivar degradedRule: Degraded rule with static threshold. + :vartype degradedRule: "ThresholdRuleV2" + :ivar unhealthyRule: Unhealthy rule with static threshold. Required. + :vartype unhealthyRule: "ThresholdRuleV2" """ degradedRule: "ThresholdRuleV2" @@ -839,20 +850,20 @@ class HealthReportEvaluationRule(TypedDict, total=False): class HealthReportRequest(TypedDict, total=False): """Health report that's submitted for a specific signal. - :ivar signal_name: Name of the entity signal to report health for. Required. - :vartype signal_name: str - :ivar health_state: Health state to report for the signal. Required. Known values are: + :ivar signalName: Name of the entity signal to report health for. Required. + :vartype signalName: str + :ivar healthState: Health state to report for the signal. Required. Known values are: "Healthy", "Degraded", "Unhealthy", "Unknown", and "Deleted". - :vartype health_state: Union[str, "HealthState"] + :vartype healthState: Union[str, "HealthState"] :ivar value: Reported value of the signal. :vartype value: float - :ivar evaluation_rules: Evaluation rules that were used to determine the reported health state. - :vartype evaluation_rules: "HealthReportEvaluationRule" - :ivar expires_in_minutes: Number of minutes until the health report expires. Defaults to 60 (1 + :ivar evaluationRules: Evaluation rules that were used to determine the reported health state. + :vartype evaluationRules: "HealthReportEvaluationRule" + :ivar expiresInMinutes: Number of minutes until the health report expires. Defaults to 60 (1 hour) if not specified. - :vartype expires_in_minutes: int - :ivar additional_context: Optional additional context or description for the health report. - :vartype additional_context: str + :vartype expiresInMinutes: int + :ivar additionalContext: Optional additional context or description for the health report. + :vartype additionalContext: str """ signalName: Required[str] @@ -873,11 +884,11 @@ class HealthReportRequest(TypedDict, total=False): class IconDefinition(TypedDict, total=False): """Visual icon definition of an entity. - :ivar icon_name: Name of the built-in icon, or 'Custom' to use customData. Required. - :vartype icon_name: str - :ivar custom_data: Custom data. Base64-encoded SVG data. If set, this overrides the built-in + :ivar iconName: Name of the built-in icon, or 'Custom' to use customData. Required. + :vartype iconName: str + :ivar customData: Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon. - :vartype custom_data: str + :vartype customData: str """ iconName: Required[str] @@ -889,31 +900,30 @@ class IconDefinition(TypedDict, total=False): class LogAnalyticsQuerySignalDefinitionProperties(TypedDict, total=False): # pylint: disable=name-too-long """Log Analytics Query Signal Definition properties. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar refresh_interval: Interval in which the signal is being evaluated. Defaults to PT1M (1 + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar refreshInterval: Interval in which the signal is being evaluated. Defaults to PT1M (1 minute). Known values are: "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H", and "PT2H". - :vartype refresh_interval: Union[str, "RefreshInterval"] + :vartype refreshInterval: Union[str, "RefreshInterval"] :ivar tags: Optional set of tags (key-value pairs). :vartype tags: dict[str, str] - :ivar data_unit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). - :vartype data_unit: str - :ivar evaluation_rules: Evaluation rules for the signal definition. Required. - :vartype evaluation_rules: "EvaluationRule" - :ivar signal_kind: Kind of the signal definition. Required. LOG_ANALYTICS_QUERY. - :vartype signal_kind: Literal[SignalKind.LOG_ANALYTICS_QUERY] - :ivar query_text: Query text in KQL syntax. Required. - :vartype query_text: str - :ivar time_grain: Time range of signal. ISO duration format like PT10M. If not specified, the + :ivar dataUnit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). + :vartype dataUnit: str + :ivar evaluationRules: Evaluation rules for the signal definition. Required. + :vartype evaluationRules: "EvaluationRule" + :ivar signalKind: Kind of the signal definition. Required. LOG_ANALYTICS_QUERY. + :vartype signalKind: Literal[SignalKind.LOG_ANALYTICS_QUERY] + :ivar queryText: Query text in KQL syntax. Required. + :vartype queryText: str + :ivar timeGrain: Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range. - :vartype time_grain: str - :ivar value_column_name: Name of the column in the result set to evaluate against the - thresholds. Defaults to the first column in the result set if not specified. The column must be - numeric. - :vartype value_column_name: str + :vartype timeGrain: str + :ivar valueColumnName: Name of the column in the result set to evaluate against the thresholds. + Defaults to the first column in the result set if not specified. The column must be numeric. + :vartype valueColumnName: str """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -947,31 +957,30 @@ class LogAnalyticsSignal(TypedDict, total=False): :ivar name: Unique name of the signal within the entity. Required. :vartype name: str - :ivar signal_definition_name: Optional reference to a signal definition that provides default + :ivar signalDefinitionName: Optional reference to a signal definition that provides default values. - :vartype signal_definition_name: str + :vartype signalDefinitionName: str :ivar status: Current status of the signal. :vartype status: "SignalStatus" - :ivar signal_kind: Kind of the signal instance. Required. LOG_ANALYTICS_QUERY. - :vartype signal_kind: Literal[SignalKind.LOG_ANALYTICS_QUERY] - :ivar query_text: Query text in KQL syntax. - :vartype query_text: str - :ivar time_grain: Time range of signal. ISO duration format like PT10M. If not specified, the + :ivar signalKind: Kind of the signal instance. Required. LOG_ANALYTICS_QUERY. + :vartype signalKind: Literal[SignalKind.LOG_ANALYTICS_QUERY] + :ivar queryText: Query text in KQL syntax. + :vartype queryText: str + :ivar timeGrain: Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range. - :vartype time_grain: str - :ivar value_column_name: Name of the column in the result set to evaluate against the - thresholds. Defaults to the first column in the result set if not specified. The column must be - numeric. - :vartype value_column_name: str - :ivar display_name: Display name. - :vartype display_name: str - :ivar refresh_interval: Interval in which the signal is being evaluated. Defaults to PT1M (1 + :vartype timeGrain: str + :ivar valueColumnName: Name of the column in the result set to evaluate against the thresholds. + Defaults to the first column in the result set if not specified. The column must be numeric. + :vartype valueColumnName: str + :ivar displayName: Display name. + :vartype displayName: str + :ivar refreshInterval: Interval in which the signal is being evaluated. Defaults to PT1M (1 minute). Known values are: "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H", and "PT2H". - :vartype refresh_interval: Union[str, "RefreshInterval"] - :ivar data_unit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). - :vartype data_unit: str - :ivar evaluation_rules: Evaluation rules for the signal definition. - :vartype evaluation_rules: "EvaluationRule" + :vartype refreshInterval: Union[str, "RefreshInterval"] + :ivar dataUnit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). + :vartype dataUnit: str + :ivar evaluationRules: Evaluation rules for the signal definition. + :vartype evaluationRules: "EvaluationRule" """ name: Required[str] @@ -1004,11 +1013,11 @@ class LogAnalyticsSignal(TypedDict, total=False): class LogAnalyticsSignals(TypedDict, total=False): """A grouping of Log Analytics workspace signals. - :ivar authentication_setting: Reference to the name of the authentication setting which is used + :ivar authenticationSetting: Reference to the name of the authentication setting which is used for querying the data source. Required. - :vartype authentication_setting: str - :ivar log_analytics_workspace_resource_id: Log Analytics workspace resource ID. Required. - :vartype log_analytics_workspace_resource_id: str + :vartype authenticationSetting: str + :ivar logAnalyticsWorkspaceResourceId: Log Analytics workspace resource ID. Required. + :vartype logAnalyticsWorkspaceResourceId: str :ivar signals: Signals assigned to this group. :vartype signals: list["LogAnalyticsSignal"] """ @@ -1025,16 +1034,16 @@ class LogAnalyticsSignals(TypedDict, total=False): class ManagedIdentityAuthenticationSettingProperties(TypedDict, total=False): # pylint: disable=name-too-long """Authentication setting properties for Azure Managed Identity. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar authentication_kind: Kind of the authentication setting. Required. MANAGED_IDENTITY. - :vartype authentication_kind: Literal[AuthenticationKind.MANAGED_IDENTITY] - :ivar managed_identity_name: Name of the managed identity to use. Either 'SystemAssigned' or - the resourceId of a user-assigned identity. Required. - :vartype managed_identity_name: str + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar authenticationKind: Kind of the authentication setting. Required. MANAGED_IDENTITY. + :vartype authenticationKind: Literal[AuthenticationKind.MANAGED_IDENTITY] + :ivar managedIdentityName: Name of the managed identity to use. Either 'SystemAssigned' or the + resourceId of a user-assigned identity. Required. + :vartype managedIdentityName: str """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -1052,17 +1061,17 @@ class ManagedIdentityAuthenticationSettingProperties(TypedDict, total=False): # class ManagedServiceIdentity(TypedDict, total=False): """Managed service identity (system assigned and/or user assigned identities). - :ivar principal_id: The service principal ID of the system assigned identity. This property - will only be provided for a system assigned identity. - :vartype principal_id: str - :ivar tenant_id: The tenant ID of the system assigned identity. This property will only be + :ivar principalId: The service principal ID of the system assigned identity. This property will + only be provided for a system assigned identity. + :vartype principalId: str + :ivar tenantId: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - :vartype tenant_id: str + :vartype tenantId: str :ivar type: The type of managed identity assigned to this resource. Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". :vartype type: Union[str, "ManagedServiceIdentityType"] - :ivar user_assigned_identities: The identities assigned to this resource by the user. - :vartype user_assigned_identities: dict[str, "UserAssignedIdentity"] + :ivar userAssignedIdentities: The identities assigned to this resource by the user. + :vartype userAssignedIdentities: dict[str, "UserAssignedIdentity"] """ principalId: str @@ -1083,26 +1092,26 @@ class PrometheusMetricsSignal(TypedDict, total=False): :ivar name: Unique name of the signal within the entity. Required. :vartype name: str - :ivar signal_definition_name: Optional reference to a signal definition that provides default + :ivar signalDefinitionName: Optional reference to a signal definition that provides default values. - :vartype signal_definition_name: str + :vartype signalDefinitionName: str :ivar status: Current status of the signal. :vartype status: "SignalStatus" - :ivar signal_kind: Kind of the signal instance. Required. PROMETHEUS_METRICS_QUERY. - :vartype signal_kind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] - :ivar query_text: Query text in PromQL syntax. - :vartype query_text: str - :ivar time_grain: Time range of signal. ISO duration format like PT10M. - :vartype time_grain: str - :ivar display_name: Display name. - :vartype display_name: str - :ivar refresh_interval: Interval in which the signal is being evaluated. Defaults to PT1M (1 + :ivar signalKind: Kind of the signal instance. Required. PROMETHEUS_METRICS_QUERY. + :vartype signalKind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] + :ivar queryText: Query text in PromQL syntax. + :vartype queryText: str + :ivar timeGrain: Time range of signal. ISO duration format like PT10M. + :vartype timeGrain: str + :ivar displayName: Display name. + :vartype displayName: str + :ivar refreshInterval: Interval in which the signal is being evaluated. Defaults to PT1M (1 minute). Known values are: "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H", and "PT2H". - :vartype refresh_interval: Union[str, "RefreshInterval"] - :ivar data_unit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). - :vartype data_unit: str - :ivar evaluation_rules: Evaluation rules for the signal definition. - :vartype evaluation_rules: "EvaluationRule" + :vartype refreshInterval: Union[str, "RefreshInterval"] + :ivar dataUnit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). + :vartype dataUnit: str + :ivar evaluationRules: Evaluation rules for the signal definition. + :vartype evaluationRules: "EvaluationRule" """ name: Required[str] @@ -1131,26 +1140,26 @@ class PrometheusMetricsSignal(TypedDict, total=False): class PrometheusMetricsSignalDefinitionProperties(TypedDict, total=False): # pylint: disable=name-too-long """Prometheus Metrics Signal Definition properties. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar refresh_interval: Interval in which the signal is being evaluated. Defaults to PT1M (1 + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar refreshInterval: Interval in which the signal is being evaluated. Defaults to PT1M (1 minute). Known values are: "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H", and "PT2H". - :vartype refresh_interval: Union[str, "RefreshInterval"] + :vartype refreshInterval: Union[str, "RefreshInterval"] :ivar tags: Optional set of tags (key-value pairs). :vartype tags: dict[str, str] - :ivar data_unit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). - :vartype data_unit: str - :ivar evaluation_rules: Evaluation rules for the signal definition. Required. - :vartype evaluation_rules: "EvaluationRule" - :ivar signal_kind: Kind of the signal definition. Required. PROMETHEUS_METRICS_QUERY. - :vartype signal_kind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] - :ivar query_text: Query text in PromQL syntax. Required. - :vartype query_text: str - :ivar time_grain: Time range of signal. ISO duration format like PT10M. - :vartype time_grain: str + :ivar dataUnit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). + :vartype dataUnit: str + :ivar evaluationRules: Evaluation rules for the signal definition. Required. + :vartype evaluationRules: "EvaluationRule" + :ivar signalKind: Kind of the signal definition. Required. PROMETHEUS_METRICS_QUERY. + :vartype signalKind: Literal[SignalKind.PROMETHEUS_METRICS_QUERY] + :ivar queryText: Query text in PromQL syntax. Required. + :vartype queryText: str + :ivar timeGrain: Time range of signal. ISO duration format like PT10M. + :vartype timeGrain: str """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -1186,9 +1195,9 @@ class Relationship(ProxyResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "RelationshipProperties" """ @@ -1200,20 +1209,20 @@ class Relationship(ProxyResource): class RelationshipProperties(TypedDict, total=False): """Relationship properties. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar parent_entity_name: Resource name of the parent entity. Required. - :vartype parent_entity_name: str - :ivar child_entity_name: Resource name of the child entity. Required. - :vartype child_entity_name: str + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar parentEntityName: Resource name of the parent entity. Required. + :vartype parentEntityName: str + :ivar childEntityName: Resource name of the child entity. Required. + :vartype childEntityName: str :ivar tags: Optional set of tags (key-value pairs). :vartype tags: dict[str, str] - :ivar discovered_by: Discovered by which discovery rule. If set, the relationship cannot be + :ivar discoveredBy: Discovered by which discovery rule. If set, the relationship cannot be deleted manually. - :vartype discovered_by: str + :vartype discoveredBy: str """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -1237,10 +1246,10 @@ class ResourceGraphQuerySpecification(TypedDict, total=False): :ivar kind: Kind of the discovery rule specification. Required. Azure Resource Graph query based discovery. :vartype kind: Literal[DiscoveryRuleKind.RESOURCE_GRAPH_QUERY] - :ivar resource_graph_query: Azure Resource Graph query text in KQL syntax. The query must - return at least a column named 'id' which contains the resource ID of the discovered resources. + :ivar resourceGraphQuery: Azure Resource Graph query text in KQL syntax. The query must return + at least a column named 'id' which contains the resource ID of the discovered resources. Required. - :vartype resource_graph_query: str + :vartype resourceGraphQuery: str """ kind: Required[Literal[DiscoveryRuleKind.RESOURCE_GRAPH_QUERY]] @@ -1253,34 +1262,34 @@ class ResourceGraphQuerySpecification(TypedDict, total=False): class ResourceMetricSignalDefinitionProperties(TypedDict, total=False): """Azure Resource Metric Signal Definition properties. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", + :ivar provisioningState: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", and "Deleting". - :vartype provisioning_state: Union[str, "HealthModelProvisioningState"] - :ivar display_name: Display name. - :vartype display_name: str - :ivar refresh_interval: Interval in which the signal is being evaluated. Defaults to PT1M (1 + :vartype provisioningState: Union[str, "HealthModelProvisioningState"] + :ivar displayName: Display name. + :vartype displayName: str + :ivar refreshInterval: Interval in which the signal is being evaluated. Defaults to PT1M (1 minute). Known values are: "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H", and "PT2H". - :vartype refresh_interval: Union[str, "RefreshInterval"] + :vartype refreshInterval: Union[str, "RefreshInterval"] :ivar tags: Optional set of tags (key-value pairs). :vartype tags: dict[str, str] - :ivar data_unit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). - :vartype data_unit: str - :ivar evaluation_rules: Evaluation rules for the signal definition. Required. - :vartype evaluation_rules: "EvaluationRule" - :ivar signal_kind: Kind of the signal definition. Required. AZURE_RESOURCE_METRIC. - :vartype signal_kind: Literal[SignalKind.AZURE_RESOURCE_METRIC] - :ivar metric_namespace: Metric namespace. Required. - :vartype metric_namespace: str - :ivar metric_name: Name of the metric. Required. - :vartype metric_name: str - :ivar time_grain: Time range of signal. ISO duration format like PT10M. Required. - :vartype time_grain: str - :ivar aggregation_type: Type of aggregation to apply to the metric. Required. Known values are: + :ivar dataUnit: Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count)). + :vartype dataUnit: str + :ivar evaluationRules: Evaluation rules for the signal definition. Required. + :vartype evaluationRules: "EvaluationRule" + :ivar signalKind: Kind of the signal definition. Required. AZURE_RESOURCE_METRIC. + :vartype signalKind: Literal[SignalKind.AZURE_RESOURCE_METRIC] + :ivar metricNamespace: Metric namespace. Required. + :vartype metricNamespace: str + :ivar metricName: Name of the metric. Required. + :vartype metricName: str + :ivar timeGrain: Time range of signal. ISO duration format like PT10M. Required. + :vartype timeGrain: str + :ivar aggregationType: Type of aggregation to apply to the metric. Required. Known values are: "None", "Average", "Count", "Minimum", "Maximum", and "Total". - :vartype aggregation_type: Union[str, "MetricAggregationType"] - :ivar dimension_filter: Optional: Dimension filter to apply to the dimension. Must only be set + :vartype aggregationType: Union[str, "MetricAggregationType"] + :ivar dimensionFilter: Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set. - :vartype dimension_filter: str + :vartype dimensionFilter: str """ provisioningState: Union[str, "HealthModelProvisioningState"] @@ -1313,6 +1322,96 @@ class ResourceMetricSignalDefinitionProperties(TypedDict, total=False): set.""" +class SignalAggregationGroup(TypedDict, total=False): + """A logical group of signals on an entity, evaluated under a configurable aggregation strategy. + Groups are independent even when they share members. Each group's aggregated state is one of + the inputs to the entity's composite health computation alongside any signals not declared in + any group's members[]. + + :ivar name: Name of the aggregation group. Unique within the entity. Required. + :vartype name: str + :ivar displayName: Display name. + :vartype displayName: str + :ivar aggregationType: Aggregation strategy applied across the members of this group. Known + values are: "WorstOf", "BestOf", "MinHealthy", and "MaxNotHealthy". + :vartype aggregationType: Union[str, "AggregationType"] + :ivar members: Names of signals on this entity which are members of the group. Members are + matched by name; references to signals that do not currently exist on the entity are accepted + (typically for pre-declared external signals) and surfaced via 'unresolvedMembers'. A signal + may be listed in multiple groups; no duplicates within this list. Required. + :vartype members: list[str] + :ivar degradedThreshold: Degraded threshold for threshold-bearing strategies (MinHealthy, + MaxNotHealthy). For MinHealthy: group is degraded when the healthy member count/percentage + falls to or below this value. For MaxNotHealthy: group is degraded when the not-healthy member + count/percentage reaches or exceeds this value. Optional — if not set, the group transitions + directly between Healthy and Unhealthy. MUST NOT be set when aggregationType is WorstOf or + BestOf. + :vartype degradedThreshold: float + :ivar unhealthyThreshold: Unhealthy threshold for threshold-bearing strategies. Required when + aggregationType is MinHealthy or MaxNotHealthy; MUST NOT be set otherwise. + :vartype unhealthyThreshold: float + :ivar unit: Unit type for the thresholds. Required when aggregationType is MinHealthy or + MaxNotHealthy; MUST NOT be set otherwise. Known values are: "Absolute" and "Percentage". + :vartype unit: Union[str, "AggregationUnit"] + :ivar ignoreUnknown: If true (default), members reporting Unknown are excluded from the + aggregation. For MinHealthy and MaxNotHealthy this flag affects the denominator/count and is + meaningful. For WorstOf and BestOf the flag has no observable effect: under WorstOf, Unknown=0 + is the lowest severity and can never beat any non-Unknown member in a Max() so filtering it + changes nothing observable; under BestOf, Unknown is unconditionally excluded by the strategy + itself irrespective of the flag. The flag is retained on the contract for vocabulary symmetry + across all four strategies. + :vartype ignoreUnknown: bool + :ivar aggregatedHealthState: Computed aggregated health state of the group as of the last + entity evaluation. Unknown if no resolvable members or all members filtered out. Known values + are: "Healthy", "Degraded", "Unhealthy", "Unknown", and "Deleted". + :vartype aggregatedHealthState: Union[str, "HealthState"] + :ivar unresolvedMembers: Members listed in 'members' that do not currently resolve to a signal + on this entity at the time of the last entity evaluation. Treated as Unknown during + aggregation. Empty/omitted when every member resolves. + :vartype unresolvedMembers: list[str] + """ + + name: Required[str] + """Name of the aggregation group. Unique within the entity. Required.""" + displayName: str + """Display name.""" + aggregationType: Union[str, "AggregationType"] + """Aggregation strategy applied across the members of this group. Known values are: \"WorstOf\", + \"BestOf\", \"MinHealthy\", and \"MaxNotHealthy\".""" + members: Required[list[str]] + """Names of signals on this entity which are members of the group. Members are matched by name; + references to signals that do not currently exist on the entity are accepted (typically for + pre-declared external signals) and surfaced via 'unresolvedMembers'. A signal may be listed in + multiple groups; no duplicates within this list. Required.""" + degradedThreshold: float + """Degraded threshold for threshold-bearing strategies (MinHealthy, MaxNotHealthy). For + MinHealthy: group is degraded when the healthy member count/percentage falls to or below this + value. For MaxNotHealthy: group is degraded when the not-healthy member count/percentage + reaches or exceeds this value. Optional — if not set, the group transitions directly between + Healthy and Unhealthy. MUST NOT be set when aggregationType is WorstOf or BestOf.""" + unhealthyThreshold: float + """Unhealthy threshold for threshold-bearing strategies. Required when aggregationType is + MinHealthy or MaxNotHealthy; MUST NOT be set otherwise.""" + unit: Union[str, "AggregationUnit"] + """Unit type for the thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy; + MUST NOT be set otherwise. Known values are: \"Absolute\" and \"Percentage\".""" + ignoreUnknown: bool + """If true (default), members reporting Unknown are excluded from the aggregation. For MinHealthy + and MaxNotHealthy this flag affects the denominator/count and is meaningful. For WorstOf and + BestOf the flag has no observable effect: under WorstOf, Unknown=0 is the lowest severity and + can never beat any non-Unknown member in a Max() so filtering it changes nothing observable; + under BestOf, Unknown is unconditionally excluded by the strategy itself irrespective of the + flag. The flag is retained on the contract for vocabulary symmetry across all four strategies.""" + aggregatedHealthState: Union[str, "HealthState"] + """Computed aggregated health state of the group as of the last entity evaluation. Unknown if no + resolvable members or all members filtered out. Known values are: \"Healthy\", \"Degraded\", + \"Unhealthy\", \"Unknown\", and \"Deleted\".""" + unresolvedMembers: list[str] + """Members listed in 'members' that do not currently resolve to a signal on this entity at the + time of the last entity evaluation. Treated as Unknown during aggregation. Empty/omitted when + every member resolves.""" + + class SignalDefinition(ProxyResource): """A signal definition in a health model. @@ -1324,9 +1423,9 @@ class SignalDefinition(ProxyResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy + :ivar systemData: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: "SystemData" + :vartype systemData: "SystemData" :ivar properties: The resource-specific properties for this resource. :vartype properties: "SignalDefinitionProperties" """ @@ -1338,12 +1437,12 @@ class SignalDefinition(ProxyResource): class SignalGroups(TypedDict, total=False): """Contains various signal groups that can be assigned to an entity. - :ivar azure_resource: Azure Resource Signal Group. - :vartype azure_resource: "AzureResourceSignals" - :ivar azure_log_analytics: Log Analytics Signal Group. - :vartype azure_log_analytics: "LogAnalyticsSignals" - :ivar azure_monitor_workspace: Azure Monitor Workspace Signal Group. - :vartype azure_monitor_workspace: "AzureMonitorWorkspaceSignals" + :ivar azureResource: Azure Resource Signal Group. + :vartype azureResource: "AzureResourceSignals" + :ivar azureLogAnalytics: Log Analytics Signal Group. + :vartype azureLogAnalytics: "LogAnalyticsSignals" + :ivar azureMonitorWorkspace: Azure Monitor Workspace Signal Group. + :vartype azureMonitorWorkspace: "AzureMonitorWorkspaceSignals" :ivar dependencies: Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity. :vartype dependencies: "DependenciesSignalGroupV2" @@ -1367,17 +1466,17 @@ class SignalGroups(TypedDict, total=False): class SignalHistoryRequest(TypedDict, total=False): """Request body for getting signal history. - :ivar signal_name: Name of the signal to get history for. Required. - :vartype signal_name: str - :ivar start_at: Start time for the history query. Defaults to 24 hours ago if not specified. - :vartype start_at: str - :ivar end_at: End time for the history query. Defaults to now if not specified. - :vartype end_at: str + :ivar signalName: Name of the signal to get history for. Required. + :vartype signalName: str + :ivar startAt: Start time for the history query. Defaults to 24 hours ago if not specified. + :vartype startAt: str + :ivar endAt: End time for the history query. Defaults to now if not specified. + :vartype endAt: str :ivar top: Maximum number of data points to return per page. Defaults to 1000. :vartype top: int - :ivar next_marker: An opaque string value that identifies the portion of the result set to be + :ivar nextMarker: An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt. - :vartype next_marker: str + :vartype nextMarker: str """ signalName: Required[str] @@ -1396,17 +1495,17 @@ class SignalHistoryRequest(TypedDict, total=False): class SignalStatus(TypedDict, total=False): """Status of a signal. - :ivar health_state: Health state of this signal. Known values are: "Healthy", "Degraded", + :ivar healthState: Health state of this signal. Known values are: "Healthy", "Degraded", "Unhealthy", "Unknown", and "Deleted". - :vartype health_state: Union[str, "HealthState"] + :vartype healthState: Union[str, "HealthState"] :ivar value: Reported value of the signal. :vartype value: float - :ivar reported_at: Timestamp when the value was reported. - :vartype reported_at: str + :ivar reportedAt: Timestamp when the value was reported. + :vartype reportedAt: str :ivar error: Error message if the signal status cannot be retrieved. :vartype error: str - :ivar additional_context: Additional context as provided by the submitter. - :vartype additional_context: str + :ivar additionalContext: Additional context as provided by the submitter. + :vartype additionalContext: str """ healthState: Union[str, "HealthState"] @@ -1425,20 +1524,20 @@ class SignalStatus(TypedDict, total=False): class SystemData(TypedDict, total=False): """Metadata pertaining to creation and last modification of the resource. - :ivar created_by: The identity that created the resource. - :vartype created_by: str - :ivar created_by_type: The type of identity that created the resource. Known values are: - "User", "Application", "ManagedIdentity", and "Key". - :vartype created_by_type: Union[str, "CreatedByType"] - :ivar created_at: The timestamp of resource creation (UTC). - :vartype created_at: str - :ivar last_modified_by: The identity that last modified the resource. - :vartype last_modified_by: str - :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + :ivar createdBy: The identity that created the resource. + :vartype createdBy: str + :ivar createdByType: The type of identity that created the resource. Known values are: "User", + "Application", "ManagedIdentity", and "Key". + :vartype createdByType: Union[str, "CreatedByType"] + :ivar createdAt: The timestamp of resource creation (UTC). + :vartype createdAt: str + :ivar lastModifiedBy: The identity that last modified the resource. + :vartype lastModifiedBy: str + :ivar lastModifiedByType: The type of identity that last modified the resource. Known values are: "User", "Application", "ManagedIdentity", and "Key". - :vartype last_modified_by_type: Union[str, "CreatedByType"] - :ivar last_modified_at: The timestamp of resource last modification (UTC). - :vartype last_modified_at: str + :vartype lastModifiedByType: Union[str, "CreatedByType"] + :ivar lastModifiedAt: The timestamp of resource last modification (UTC). + :vartype lastModifiedAt: str """ createdBy: str @@ -1469,10 +1568,6 @@ class ThresholdRuleV2(TypedDict, total=False): :ivar sensitivity: Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic. Known values are: "Low", "Medium", and "High". :vartype sensitivity: Union[str, "DynamicThresholdSensitivity"] - :ivar look_back_window: ISO 8601 duration for the historical look-back window used by dynamic - threshold computation. Only applicable when operator is Dynamic. Known values are: "PT5M", - "PT15M", "PT30M", and "PT1H". - :vartype look_back_window: Union[str, "LookBackWindow"] """ operator: Required[Union[str, "SignalOperator"]] @@ -1484,19 +1579,15 @@ class ThresholdRuleV2(TypedDict, total=False): sensitivity: Union[str, "DynamicThresholdSensitivity"] """Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic. Known values are: \"Low\", \"Medium\", and \"High\".""" - lookBackWindow: Union[str, "LookBackWindow"] - """ISO 8601 duration for the historical look-back window used by dynamic threshold computation. - Only applicable when operator is Dynamic. Known values are: \"PT5M\", \"PT15M\", \"PT30M\", and - \"PT1H\".""" class UserAssignedIdentity(TypedDict, total=False): """User assigned identity properties. - :ivar principal_id: The principal ID of the assigned identity. - :vartype principal_id: str - :ivar client_id: The client ID of the assigned identity. - :vartype client_id: str + :ivar principalId: The principal ID of the assigned identity. + :vartype principalId: str + :ivar clientId: The client ID of the assigned identity. + :vartype clientId: str """ principalId: str diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_create_or_update.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_create_or_update.py index 2a2d95b92cde..003dbf01e32a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_create_or_update.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_create_or_update.py @@ -45,6 +45,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/AuthenticationSettings_CreateOrUpdate.json +# x-ms-original-file: 2026-09-01-preview/AuthenticationSettings_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_delete.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_delete.py index fc61526a908c..c2df95a85350 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_delete.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_delete.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-05-01-preview/AuthenticationSettings_Delete.json +# x-ms-original-file: 2026-09-01-preview/AuthenticationSettings_Delete.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_get.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_get.py index a3339c00aa91..cd40900aaaf4 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_get.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_get.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/AuthenticationSettings_Get.json +# x-ms-original-file: 2026-09-01-preview/AuthenticationSettings_Get.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_list_by_health_model.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_list_by_health_model.py index 9d60092482d3..c4a914080234 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_list_by_health_model.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/authentication_settings_list_by_health_model.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/AuthenticationSettings_ListByHealthModel.json +# x-ms-original-file: 2026-09-01-preview/AuthenticationSettings_ListByHealthModel.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_create_or_update.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_create_or_update.py index 63676490b5f6..7ba1b44362ce 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_create_or_update.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_create_or_update.py @@ -52,6 +52,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/DiscoveryRules_CreateOrUpdate.json +# x-ms-original-file: 2026-09-01-preview/DiscoveryRules_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_delete.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_delete.py index b29fccd6e58a..7651ad7a208a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_delete.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_delete.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-05-01-preview/DiscoveryRules_Delete.json +# x-ms-original-file: 2026-09-01-preview/DiscoveryRules_Delete.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_get.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_get.py index 352507625724..c36abe94945b 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_get.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_get.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/DiscoveryRules_Get.json +# x-ms-original-file: 2026-09-01-preview/DiscoveryRules_Get.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_list_by_health_model.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_list_by_health_model.py index c6324fc609c1..14bdf7914cf5 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_list_by_health_model.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/discovery_rules_list_by_health_model.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/DiscoveryRules_ListByHealthModel.json +# x-ms-original-file: 2026-09-01-preview/DiscoveryRules_ListByHealthModel.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_add_data_annotation.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_add_data_annotation.py index 62ecbc0b9d8d..f51d88206e4e 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_add_data_annotation.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_add_data_annotation.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_AddDataAnnotation.json +# x-ms-original-file: 2026-09-01-preview/Entities_AddDataAnnotation.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_create_or_update.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_create_or_update.py index 72835164a16b..9e7fb8f6cd34 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_create_or_update.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_create_or_update.py @@ -58,6 +58,23 @@ def main(): "healthObjective": 99.9, "icon": {"iconName": "Kubernetes"}, "impact": "Standard", + "signalAggregationGroups": [ + { + "aggregationType": "WorstOf", + "displayName": "Latency and errors", + "members": ["error-rate", "p95-latency"], + "name": "latency-and-errors", + }, + { + "aggregationType": "MinHealthy", + "displayName": "Compute utilization", + "ignoreUnknown": True, + "members": ["node-cpu", "pod-cpu"], + "name": "compute-utilization", + "unhealthyThreshold": 50, + "unit": "Percentage", + }, + ], "signalGroups": { "azureLogAnalytics": { "authenticationSetting": "default-auth", @@ -163,6 +180,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_CreateOrUpdate.json +# x-ms-original-file: 2026-09-01-preview/Entities_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_delete.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_delete.py index 0d597291e5f5..441f15a9d9f5 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_delete.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_delete.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-05-01-preview/Entities_Delete.json +# x-ms-original-file: 2026-09-01-preview/Entities_Delete.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get.py index 4b29acdd7ac8..76fd028f00d2 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_Get.json +# x-ms-original-file: 2026-09-01-preview/Entities_Get.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_data_annotations.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_data_annotations.py index 73f9a0785497..ff905533eb91 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_data_annotations.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_data_annotations.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_GetDataAnnotations.json +# x-ms-original-file: 2026-09-01-preview/Entities_GetDataAnnotations.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_history.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_history.py index edd86452171a..9dd619949833 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_history.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_history.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_GetHistory.json +# x-ms-original-file: 2026-09-01-preview/Entities_GetHistory.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_history.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_history.py index acf09b8f4455..54381d6507aa 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_history.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_history.py @@ -39,6 +39,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_GetSignalHistory.json +# x-ms-original-file: 2026-09-01-preview/Entities_GetSignalHistory.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_recommendations.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_recommendations.py index d5a7e28e9d0e..2ed9faf50b60 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_recommendations.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_get_signal_recommendations.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Entities_GetSignalRecommendations.json +# x-ms-original-file: 2026-09-01-preview/Entities_GetSignalRecommendations.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_ingest_health_report.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_ingest_health_report.py index be01c61f9897..e5d5ce4858da 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_ingest_health_report.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_ingest_health_report.py @@ -48,6 +48,6 @@ def main(): ) -# x-ms-original-file: 2026-05-01-preview/Entities_IngestHealthReport.json +# x-ms-original-file: 2026-09-01-preview/Entities_IngestHealthReport.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_list_by_health_model.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_list_by_health_model.py index ac5a7ecdb368..b0763f932f81 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_list_by_health_model.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/entities_list_by_health_model.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/Entities_ListByHealthModel.json +# x-ms-original-file: 2026-09-01-preview/Entities_ListByHealthModel.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_create.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_create.py index 9a606f7e70bb..5eda929cf45d 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_create.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_create.py @@ -43,6 +43,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/HealthModels_Create.json +# x-ms-original-file: 2026-09-01-preview/HealthModels_Create.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_delete.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_delete.py index d6a295bb72c9..3a38a810be02 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_delete.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_delete.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: 2026-05-01-preview/HealthModels_Delete.json +# x-ms-original-file: 2026-09-01-preview/HealthModels_Delete.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_get.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_get.py index 16a6bdc2ca97..be0dc952b457 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_get.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_get.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/HealthModels_Get.json +# x-ms-original-file: 2026-09-01-preview/HealthModels_Get.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_resource_group.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_resource_group.py index d325a987a0dc..4fd0b9e15bd4 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_resource_group.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_resource_group.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/HealthModels_ListByResourceGroup.json +# x-ms-original-file: 2026-09-01-preview/HealthModels_ListByResourceGroup.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_subscription.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_subscription.py index f93dc29cb152..255392622346 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_subscription.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_list_by_subscription.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/HealthModels_ListBySubscription.json +# x-ms-original-file: 2026-09-01-preview/HealthModels_ListBySubscription.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_update.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_update.py index 83dc4d1774cd..47e3da3a2844 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_update.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/health_models_update.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/HealthModels_Update.json +# x-ms-original-file: 2026-09-01-preview/HealthModels_Update.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/operations_list.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/operations_list.py index 7b32e26fa17c..eafe888fb5f9 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/operations_list.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/operations_list.py @@ -35,6 +35,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/Operations_List.json +# x-ms-original-file: 2026-09-01-preview/Operations_List.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_create_or_update.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_create_or_update.py index b564aca2fab8..7d507314e7e7 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_create_or_update.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_create_or_update.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Relationships_CreateOrUpdate.json +# x-ms-original-file: 2026-09-01-preview/Relationships_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_delete.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_delete.py index 1924fa246f84..7df4b67870f2 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_delete.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_delete.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-05-01-preview/Relationships_Delete.json +# x-ms-original-file: 2026-09-01-preview/Relationships_Delete.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_get.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_get.py index 0d5f09d016b5..bec664db18ed 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_get.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_get.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/Relationships_Get.json +# x-ms-original-file: 2026-09-01-preview/Relationships_Get.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_list_by_health_model.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_list_by_health_model.py index 7b3d281ac4e4..5d747c51c1cf 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_list_by_health_model.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/relationships_list_by_health_model.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/Relationships_ListByHealthModel.json +# x-ms-original-file: 2026-09-01-preview/Relationships_ListByHealthModel.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_create_or_update.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_create_or_update.py index 384f518be1f3..5a9c2e4927ab 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_create_or_update.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_create_or_update.py @@ -41,7 +41,7 @@ def main(): "displayName": "SQL CPU utilization", "evaluationRules": { "degradedRule": {"operator": "GreaterThan", "threshold": 70}, - "unhealthyRule": {"lookBackWindow": "PT1H", "operator": "Dynamic", "sensitivity": "Medium"}, + "unhealthyRule": {"operator": "Dynamic", "sensitivity": "Medium"}, }, "metricName": "cpu_percent", "metricNamespace": "Microsoft.Sql/servers/databases", @@ -55,6 +55,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/SignalDefinitions_CreateOrUpdate.json +# x-ms-original-file: 2026-09-01-preview/SignalDefinitions_CreateOrUpdate.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_delete.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_delete.py index 7b8a2f8ff0d4..c1ed411284a8 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_delete.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_delete.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: 2026-05-01-preview/SignalDefinitions_Delete.json +# x-ms-original-file: 2026-09-01-preview/SignalDefinitions_Delete.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_get.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_get.py index c0e0141766c9..ee5660a4abd4 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_get.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_get.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: 2026-05-01-preview/SignalDefinitions_Get.json +# x-ms-original-file: 2026-09-01-preview/SignalDefinitions_Get.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_list_by_health_model.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_list_by_health_model.py index 524605e1af96..98d587def237 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_list_by_health_model.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_samples/signal_definitions_list_by_health_model.py @@ -38,6 +38,6 @@ def main(): print(item) -# x-ms-original-file: 2026-05-01-preview/SignalDefinitions_ListByHealthModel.json +# x-ms-original-file: 2026-09-01-preview/SignalDefinitions_ListByHealthModel.json if __name__ == "__main__": main() diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations.py index fe87bd54a668..603f59f227c0 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations.py @@ -44,10 +44,10 @@ def test_discovery_rules_begin_create_or_update(self, resource_group): "addRecommendedSignals": "str", "authenticationSetting": "str", "discoverRelationships": "str", - "entityName": "str", "specification": "discovery_rule_specification", "addResourceHealthSignal": "str", "displayName": "str", + "entityName": "str", "error": {"message": "str", "context": ["str"]}, "provisioningState": "str", }, diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations_async.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations_async.py index bcf71b32922f..cde05e69d90a 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations_async.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_discovery_rules_operations_async.py @@ -46,10 +46,10 @@ async def test_discovery_rules_begin_create_or_update(self, resource_group): "addRecommendedSignals": "str", "authenticationSetting": "str", "discoverRelationships": "str", - "entityName": "str", "specification": "discovery_rule_specification", "addResourceHealthSignal": "str", "displayName": "str", + "entityName": "str", "error": {"message": "str", "context": ["str"]}, "provisioningState": "str", }, diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations.py index 0e834d7784b6..97ef1d67973e 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations.py @@ -53,6 +53,20 @@ def test_entities_begin_create_or_update(self, resource_group): "icon": {"iconName": "str", "customData": "str"}, "impact": "str", "provisioningState": "str", + "signalAggregationGroups": [ + { + "members": ["str"], + "name": "str", + "aggregatedHealthState": "str", + "aggregationType": "str", + "degradedThreshold": 0.0, + "displayName": "str", + "ignoreUnknown": bool, + "unhealthyThreshold": 0.0, + "unit": "str", + "unresolvedMembers": ["str"], + } + ], "signalGroups": { "azureLogAnalytics": { "authenticationSetting": "str", @@ -64,18 +78,8 @@ def test_entities_begin_create_or_update(self, resource_group): "dataUnit": "str", "displayName": "str", "evaluationRules": { - "unhealthyRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, + "unhealthyRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "queryText": "str", "refreshInterval": "str", @@ -102,18 +106,8 @@ def test_entities_begin_create_or_update(self, resource_group): "dataUnit": "str", "displayName": "str", "evaluationRules": { - "unhealthyRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, + "unhealthyRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "queryText": "str", "refreshInterval": "str", @@ -160,18 +154,8 @@ def test_entities_begin_create_or_update(self, resource_group): "dimensionFilter": "str", "displayName": "str", "evaluationRules": { - "unhealthyRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, + "unhealthyRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "metricName": "str", "metricNamespace": "str", @@ -201,18 +185,8 @@ def test_entities_begin_create_or_update(self, resource_group): "name": "str", "signalKind": "External", "evaluationRules": { - "unhealthyRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, + "unhealthyRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "signalDefinitionName": "str", "status": { @@ -310,18 +284,8 @@ def test_entities_ingest_health_report(self, resource_group): "signalName": "str", "additionalContext": "str", "evaluationRules": { - "unhealthyRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, + "unhealthyRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "expiresInMinutes": 0, "value": 0.0, diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations_async.py b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations_async.py index b9c941811ab1..8d58ad42d7e2 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations_async.py +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/generated_tests/test_cloud_health_mgmt_entities_operations_async.py @@ -55,6 +55,20 @@ async def test_entities_begin_create_or_update(self, resource_group): "icon": {"iconName": "str", "customData": "str"}, "impact": "str", "provisioningState": "str", + "signalAggregationGroups": [ + { + "members": ["str"], + "name": "str", + "aggregatedHealthState": "str", + "aggregationType": "str", + "degradedThreshold": 0.0, + "displayName": "str", + "ignoreUnknown": bool, + "unhealthyThreshold": 0.0, + "unit": "str", + "unresolvedMembers": ["str"], + } + ], "signalGroups": { "azureLogAnalytics": { "authenticationSetting": "str", @@ -68,16 +82,10 @@ async def test_entities_begin_create_or_update(self, resource_group): "evaluationRules": { "unhealthyRule": { "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", "sensitivity": "str", "threshold": 0.0, }, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "queryText": "str", "refreshInterval": "str", @@ -106,16 +114,10 @@ async def test_entities_begin_create_or_update(self, resource_group): "evaluationRules": { "unhealthyRule": { "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", "sensitivity": "str", "threshold": 0.0, }, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "queryText": "str", "refreshInterval": "str", @@ -164,16 +166,10 @@ async def test_entities_begin_create_or_update(self, resource_group): "evaluationRules": { "unhealthyRule": { "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", "sensitivity": "str", "threshold": 0.0, }, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "metricName": "str", "metricNamespace": "str", @@ -205,16 +201,10 @@ async def test_entities_begin_create_or_update(self, resource_group): "evaluationRules": { "unhealthyRule": { "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", "sensitivity": "str", "threshold": 0.0, }, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "signalDefinitionName": "str", "status": { @@ -315,18 +305,8 @@ async def test_entities_ingest_health_report(self, resource_group): "signalName": "str", "additionalContext": "str", "evaluationRules": { - "unhealthyRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, - "degradedRule": { - "operator": "str", - "lookBackWindow": "str", - "sensitivity": "str", - "threshold": 0.0, - }, + "unhealthyRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, + "degradedRule": {"operator": "str", "sensitivity": "str", "threshold": 0.0}, }, "expiresInMinutes": 0, "value": 0.0, diff --git a/sdk/cloudhealth/azure-mgmt-cloudhealth/tsp-location.yaml b/sdk/cloudhealth/azure-mgmt-cloudhealth/tsp-location.yaml index e92f7d3f8942..b01b5df6671f 100644 --- a/sdk/cloudhealth/azure-mgmt-cloudhealth/tsp-location.yaml +++ b/sdk/cloudhealth/azure-mgmt-cloudhealth/tsp-location.yaml @@ -1,4 +1,4 @@ -directory: specification/cloudhealth/CloudHealth.Management -commit: 36d8e56031506e1822289f36051e5d491ad16618 +directory: specification/cloudhealth/resource-manager/Microsoft.CloudHealth/CloudHealth +commit: 2699940980baf57f4a5eedd1c80d5767820425a5 repo: Azure/azure-rest-api-specs additionalDirectories: