Skip to content

Commit

Permalink
Update GCP descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed Nov 7, 2023
1 parent 65e4ff6 commit 957109d
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 296 deletions.
5 changes: 2 additions & 3 deletions plugins/digitalocean/resoto_plugin_digitalocean/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,8 @@ class DigitalOceanDropletNeighborhood(DigitalOceanResource, PhantomBaseResource)
kind: ClassVar[str] = "digitalocean_droplet_neighborhood"
kind_display: ClassVar[str] = "DigitalOcean Droplet Neighborhood"
kind_description: ClassVar[str] = (
"Droplet Neighborhood is a feature in DigitalOcean that allows users to"
" deploy Droplets (virtual machines) in the same datacenter to achieve low"
" latency communication and high reliability."
"A Droplet Neighborhood refers to a group of Droplets that are running on the"
" same physical hardware or in close proximity within a data center."
)
droplets: Optional[List[str]] = None

Expand Down
19 changes: 8 additions & 11 deletions plugins/gcp/resoto_plugin_gcp/resources/billing.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,8 @@ class GcpGeoTaxonomy:
kind: ClassVar[str] = "gcp_geo_taxonomy"
kind_display: ClassVar[str] = "GCP Geo Taxonomy"
kind_description: ClassVar[str] = (
"GCP Geo Taxonomy is a resource in Google Cloud Platform that provides a"
" hierarchical taxonomy for geographic locations, ensuring consistent and"
" accurate data for geospatial analysis and visualization."
"GCP Geo Taxonomy within a SKU refers to the classification of Google Cloud resources"
" based on geographic regions and types, which impacts pricing and availability."
)
mapping: ClassVar[Dict[str, Bender]] = {"regions": S("regions", default=[]), "type": S("type")}
regions: List[str] = field(factory=list)
Expand All @@ -209,11 +208,9 @@ class GcpGeoTaxonomy:
class GcpAggregationInfo:
kind: ClassVar[str] = "gcp_aggregation_info"
kind_display: ClassVar[str] = "GCP Aggregation Info"
kind_description: ClassVar[str] = (
"GCP Aggregation Info refers to aggregated data about resources in Google"
" Cloud Platform, providing insights and metrics for monitoring and analysis"
" purposes."
)
kind_description: ClassVar[
str
] = "GCP Aggregation Info refers to how usage and cost data are compiled and summarized over time."
mapping: ClassVar[Dict[str, Bender]] = {
"aggregation_count": S("aggregationCount"),
"aggregation_interval": S("aggregationInterval"),
Expand Down Expand Up @@ -265,9 +262,9 @@ class GcpPricingExpression:
kind: ClassVar[str] = "gcp_pricing_expression"
kind_display: ClassVar[str] = "GCP Pricing Expression"
kind_description: ClassVar[str] = (
"GCP Pricing Expression is a mechanism used in Google Cloud Platform to"
" calculate the cost of resources and services based on configuration and"
" usage."
"GCP Pricing Expression delineates the structure of pricing for a particular service, including the base"
" units of measurement, conversion factors, detailed descriptions, and tiered pricing rates to calculate"
" the cost based on usage."
)
mapping: ClassVar[Dict[str, Bender]] = {
"base_unit": S("baseUnit"),
Expand Down
Loading

0 comments on commit 957109d

Please sign in to comment.