Components identify Cloud Provider
The Is* component in this module is valid if the
insights.combiners.cloud_provider.CloudProvider combiner indicates
the host is from the specific Cloud Provider. Otherwise, it raises a
insights.core.exceptions.SkipComponent to prevent dependent components from
executing.
- class insights.components.cloud_provider.IsAWS(cp)[source]
Bases:
objectThis component uses
CloudProvidercombiner to determine the cloud provider of the instance. It checks if AWS, if not AWS it raisesSkipComponent.- Raises:
SkipComponent -- When it’s not an instance from AWS.
- class insights.components.cloud_provider.IsAzure(cp)[source]
Bases:
objectThis component uses
CloudProvidercombiner to determine the cloud provider of the instance. It checks if Azure, if not Azure it raisesSkipComponent.- Raises:
SkipComponent -- When it’s not an instance from Azure.
- class insights.components.cloud_provider.IsGCP(cp)[source]
Bases:
objectThis component uses
CloudProvidercombiner to determine the cloud provider of the instance. It checks if Google Cloud Platform (GCP), if not GCP it raisesSkipComponent.- Raises:
SkipComponent -- When it’s not an instance from GCP.