Close httplib2 connections.
Get the health of a discovered workload profile.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Get the health of a discovered workload profile.
Args:
name: string, Required. The resource name (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # WorkloadProfileHealth contains the detailed health check of workload.
"checkTime": "A String", # The time when the health check was performed.
"componentsHealth": [ # The detailed condition reports of each component.
{ # HealthCondition contains the detailed health check of each component.
"component": "A String", # The component of a workload.
"componentHealthChecks": [ # The detailed health checks of the component.
{ # HealthCheck contains the detailed health check of a component based on asource.
"message": "A String", # Output only. The message of the health check.
"metric": "A String", # Output only. The health check source metric name.
"resource": { # The resource on GCP # Output only. The resource the check performs on.
"instanceProperties": { # Instance Properties. # Output only. All instance properties.
"instanceNumber": "A String", # Optional. Instance number.
"machineType": "A String", # Optional. Instance machine type.
"roles": [ # Optional. Instance roles.
"A String",
],
"sapInstanceProperties": { # SAP instance properties. # Optional. SAP Instance properties.
"agentStates": { # Agent status. # Optional. Sap Instance Agent status.
"availableVersion": "A String", # Optional. The available version of the agent in artifact registry.
"hanaMonitoring": { # The state of the service. # Optional. HANA monitoring metrics of the agent.
"iamPermissions": [ # Optional. Output only. The IAM permissions for the service.
{ # The IAM permission status.
"granted": True or False, # Output only. Whether the permission is granted.
"name": "A String", # Output only. The name of the permission.
},
],
"state": "A String", # Output only. The overall state of the service.
},
"installedVersion": "A String", # Optional. The installed version of the agent on the host.
"isFullyEnabled": True or False, # Optional. Whether the agent is fully enabled. If false, the agent is has some issues.
"processMetrics": { # The state of the service. # Optional. The Process metrics of the agent.
"iamPermissions": [ # Optional. Output only. The IAM permissions for the service.
{ # The IAM permission status.
"granted": True or False, # Output only. Whether the permission is granted.
"name": "A String", # Output only. The name of the permission.
},
],
"state": "A String", # Output only. The overall state of the service.
},
"systemDiscovery": { # The state of the service. # Optional. The System discovery metrics of the agent.
"iamPermissions": [ # Optional. Output only. The IAM permissions for the service.
{ # The IAM permission status.
"granted": True or False, # Output only. Whether the permission is granted.
"name": "A String", # Output only. The name of the permission.
},
],
"state": "A String", # Output only. The overall state of the service.
},
},
"numbers": [ # Optional. SAP Instance numbers. They are from '00' to '99'.
"A String",
],
},
"status": "A String", # Optional. Instance status.
"upcomingMaintenanceEvent": { # Maintenance Event # Optional. the next maintenance event on VM
"endTime": "A String", # Optional. End time
"maintenanceStatus": "A String", # Optional. Maintenance status
"onHostMaintenance": "A String", # Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`.
"startTime": "A String", # Optional. Start time
"type": "A String", # Optional. Type
},
},
"kind": "A String", # Output only.
"name": "A String", # Output only. resource name Example: compute.googleapis.com/projects/wlm-obs-dev/zones/us-central1-a/instances/sap-pri
},
"source": "A String", # Output only. The source of the health check.
"state": "A String", # Output only. The state of the health check.
},
],
"componentHealthType": "A String", # Output only. The type of the component health.
"state": "A String", # Output only. The health state of the component.
"subComponentsHealth": [ # Sub component health.
# Object with schema name: ComponentHealth
],
},
],
"state": "A String", # Output only. The health state of the workload.
}