Skip to content

Commit

Permalink
Xxx->XXX
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias committed Sep 13, 2024
1 parent 77f04f4 commit 5cff654
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
14 changes: 7 additions & 7 deletions plugins/azure/fix_plugin_azure/resource/cosmosdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2392,7 +2392,7 @@ class AzureServerNameItem:
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlCluster(MicrosoftResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "cluster", "group": "database"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down Expand Up @@ -2546,7 +2546,7 @@ def post_process(self, graph_builder: GraphBuilder, source: Json) -> None:
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlClusterServer(MicrosoftResource, BaseDatabase, AzureProxyResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster_server"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster Server"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster Server"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "instance", "group": "database"}
# Collect via AzureCosmosDBPostgresqlCluster()
Expand Down Expand Up @@ -2641,7 +2641,7 @@ def collect_server_configs() -> None:
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlClusterConfiguration(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster_configuration"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster Configuration"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster Configuration"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "config", "group": "networking"}
# Collect via AzureCosmosDBPostgresqlCluster()
Expand Down Expand Up @@ -2679,7 +2679,7 @@ def collect_configs(
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlClusterServerConfiguration(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster_server_configuration"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster Server Configuration"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster Server Configuration"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "config", "group": "database"}
# Collect via AzureCosmosDBPostgresqlClusterServer()
Expand Down Expand Up @@ -2716,7 +2716,7 @@ def collect_configs(
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlClusterPrivateEndpointConnection(MicrosoftResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster_private_endpoint_connection"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster Private Endpoint Connection"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster Private Endpoint Connection"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "endpoint", "group": "networking"}
# Collect via AzureCosmosDBPostgresqlCluster()
Expand All @@ -2742,7 +2742,7 @@ class AzureCosmosDBPostgresqlClusterPrivateEndpointConnection(MicrosoftResource)
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlClusterPrivateLink(MicrosoftResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster_private_link"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster Private Link"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster Private Link"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "link", "group": "networking"}
# Collect via AzureCosmosDBPostgresqlCluster()
Expand All @@ -2766,7 +2766,7 @@ class AzureCosmosDBPostgresqlClusterPrivateLink(MicrosoftResource):
@define(eq=False, slots=False)
class AzureCosmosDBPostgresqlClusterRole(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_cosmos_db_postgresql_cluster_role"
kind_display: ClassVar[str] = "Azure Cosmos DB Postgresql Cluster Role"
kind_display: ClassVar[str] = "Azure Cosmos DB PostgreSQL Cluster Role"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "role", "group": "access_control"}
# Collect via AzureCosmosDBPostgresqlCluster()
Expand Down
18 changes: 9 additions & 9 deletions plugins/azure/fix_plugin_azure/resource/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class AzureServerMaintenanceWindow:
@define(eq=False, slots=False)
class AzureMysqlServerADAdministrator(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_ad_administrator"
kind_display: ClassVar[str] = "Azure Mysql Server Ad Administrator"
kind_display: ClassVar[str] = "Azure MySQL Server Ad Administrator"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "user", "group": "database"}
# Collect via AzureMysqlServer()
Expand Down Expand Up @@ -214,7 +214,7 @@ class AzureServerEditionCapability:
@define(eq=False, slots=False)
class AzureMysqlServerType(MicrosoftResource, BaseDatabaseInstanceType):
kind: ClassVar[str] = "azure_mysql_server_type"
kind_display: ClassVar[str] = "Azure Mysql Server Type"
kind_display: ClassVar[str] = "Azure MySQL Server Type"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "type", "group": "database"}
# Collect via AzureMysqlServer()
Expand Down Expand Up @@ -324,7 +324,7 @@ def collect(
@define(eq=False, slots=False)
class AzureMysqlServerConfiguration(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_configuration"
kind_display: ClassVar[str] = "Azure Mysql Server Configuration"
kind_display: ClassVar[str] = "Azure MySQL Server Configuration"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "config", "group": "database"}
# Collect via AzureMysqlServer()
Expand Down Expand Up @@ -361,7 +361,7 @@ def collect_configs(
@define(eq=False, slots=False)
class AzureMysqlServerDatabase(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_database"
kind_display: ClassVar[str] = "Azure Mysql Server Database"
kind_display: ClassVar[str] = "Azure MySQL Server Database"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "database", "group": "database"}
# Collect via AzureMysqlServer()
Expand All @@ -385,7 +385,7 @@ class AzureMysqlServerDatabase(MicrosoftResource):
@define(eq=False, slots=False)
class AzureMysqlServerFirewallRule(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_firewall_rule"
kind_display: ClassVar[str] = "Azure Mysql Server Firewall Rule"
kind_display: ClassVar[str] = "Azure MySQL Server Firewall Rule"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "firewall", "group": "networking"}
# Collect via AzureMysqlServer()
Expand All @@ -409,7 +409,7 @@ class AzureMysqlServerFirewallRule(MicrosoftResource):
@define(eq=False, slots=False)
class AzureMysqlServerLogFile(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_log_file"
kind_display: ClassVar[str] = "Azure Mysql Server Log File"
kind_display: ClassVar[str] = "Azure MySQL Server Log File"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "log", "group": "database"}
# Collect via AzureMysqlServer()
Expand Down Expand Up @@ -437,7 +437,7 @@ class AzureMysqlServerLogFile(MicrosoftResource):
@define(eq=False, slots=False)
class AzureMysqlServerMaintenance(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_maintenance"
kind_display: ClassVar[str] = "Azure Mysql Server Maintenance"
kind_display: ClassVar[str] = "Azure MySQL Server Maintenance"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "config", "group": "database"}
# Collect via AzureMysqlServer()
Expand Down Expand Up @@ -528,7 +528,7 @@ class AzureImportSourceProperties:
@define(eq=False, slots=False)
class AzureMysqlServer(MicrosoftResource, BaseDatabase):
kind: ClassVar[str] = "azure_mysql_server"
kind_display: ClassVar[str] = "Azure Mysql Server"
kind_display: ClassVar[str] = "Azure MySQL Server"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "database", "group": "database"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down Expand Up @@ -768,7 +768,7 @@ def connect_in_graph(self, builder: GraphBuilder, source: Json) -> None:
@define(eq=False, slots=False)
class AzureMysqlServerBackup(MicrosoftResource):
kind: ClassVar[str] = "azure_mysql_server_backup"
kind_display: ClassVar[str] = "Azure Mysql Server Backup"
kind_display: ClassVar[str] = "Azure MySQL Server Backup"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "backup", "group": "database"}
# Collect via AzureMysqlServer()
Expand Down
8 changes: 4 additions & 4 deletions plugins/azure/fix_plugin_azure/resource/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ def connect_in_graph(self, builder: GraphBuilder, source: Json) -> None:
@define(eq=False, slots=False)
class AzureNetworkCustomIpPrefix(MicrosoftResource):
kind: ClassVar[str] = "azure_network_custom_ip_prefix"
kind_display: ClassVar[str] = "Azure Network Custom Ip Prefix"
kind_display: ClassVar[str] = "Azure Network Custom IP Prefix"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "endpoint", "group": "networking"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down Expand Up @@ -3661,7 +3661,7 @@ class AzureNetworkFirewallPolicy(MicrosoftResource, BasePolicy):
@define(eq=False, slots=False)
class AzureNetworkIpAllocation(MicrosoftResource):
kind: ClassVar[str] = "azure_network_ip_allocation"
kind_display: ClassVar[str] = "Azure Network Ip Allocation"
kind_display: ClassVar[str] = "Azure Network IP Allocation"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "config", "group": "networking"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down Expand Up @@ -3707,7 +3707,7 @@ def connect_in_graph(self, builder: GraphBuilder, source: Json) -> None:
@define(eq=False, slots=False)
class AzureNetworkIpGroup(MicrosoftResource):
kind: ClassVar[str] = "azure_network_ip_group"
kind_display: ClassVar[str] = "Azure Network Ip Group"
kind_display: ClassVar[str] = "Azure Network IP Group"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "group", "group": "networking"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down Expand Up @@ -4694,7 +4694,7 @@ def connect_in_graph(self, builder: GraphBuilder, source: Json) -> None:
@define(eq=False, slots=False)
class AzureNetworkPublicIPPrefix(MicrosoftResource):
kind: ClassVar[str] = "azure_network_public_ip_prefix"
kind_display: ClassVar[str] = "Azure Network Public Ip Prefix"
kind_display: ClassVar[str] = "Azure Network Public IP Prefix"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "endpoint", "group": "networking"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down
14 changes: 7 additions & 7 deletions plugins/azure/fix_plugin_azure/resource/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@define(eq=False, slots=False)
class AzurePostgresqlServerADAdministrator(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_postgresql_ad_administrator"
kind_display: ClassVar[str] = "Azure Postgresql Ad Administrator"
kind_display: ClassVar[str] = "Azure PostgreSQL Ad Administrator"
metadata: ClassVar[Dict[str, Any]] = {"icon": "user", "group": "database"}
kind_service: ClassVar[Optional[str]] = service_name
# Collect via AzurePostgresqlServer()
Expand Down Expand Up @@ -201,7 +201,7 @@ class AzureFastProvisioningEditionCapability:
@define(eq=False, slots=False)
class AzurePostgresqlServerType(MicrosoftResource, BaseDatabaseInstanceType):
kind: ClassVar[str] = "azure_postgresql_server_type"
kind_display: ClassVar[str] = "Azure Postgresql Server Type"
kind_display: ClassVar[str] = "Azure PostgreSQL Server Type"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "type", "group": "control"}
# Collect via AzurePostgresqlServer()
Expand Down Expand Up @@ -319,7 +319,7 @@ def collect(cls, raw: List[Json], builder: GraphBuilder) -> List[AzurePostgresql
@define(eq=False, slots=False)
class AzurePostgresqlServerConfiguration(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_postgresql_server_configuration"
kind_display: ClassVar[str] = "Azure Postgresql Server Configuration"
kind_display: ClassVar[str] = "Azure PostgreSQL Server Configuration"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "config", "group": "database"}
# Collect via AzurePostgresqlServer()
Expand Down Expand Up @@ -356,7 +356,7 @@ def collect_configs(
@define(eq=False, slots=False)
class AzurePostgresqlServerDatabase(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_postgresql_server_database"
kind_display: ClassVar[str] = "Azure Postgresql Server Database"
kind_display: ClassVar[str] = "Azure PostgreSQL Server Database"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "database", "group": "database"}
# Collect via AzurePostgresqlServer()
Expand All @@ -376,7 +376,7 @@ class AzurePostgresqlServerDatabase(MicrosoftResource, AzureProxyResource):
@define(eq=False, slots=False)
class AzurePostgresqlServerFirewallRule(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_postgresql_server_firewall_rule"
kind_display: ClassVar[str] = "Azure Postgresql Server Firewall Rule"
kind_display: ClassVar[str] = "Azure PostgreSQL Server Firewall Rule"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "firewall", "group": "networking"}
# Collect via AzurePostgresqlServer()
Expand Down Expand Up @@ -411,7 +411,7 @@ class AzureAuthConfig:
@define(eq=False, slots=False)
class AzurePostgresqlServer(MicrosoftResource, AzureTrackedResource, BaseDatabase):
kind: ClassVar[str] = "azure_postgresql_server"
kind_display: ClassVar[str] = "Azure Postgresql Server"
kind_display: ClassVar[str] = "Azure PostgreSQL Server"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "database", "group": "database"}
api_spec: ClassVar[AzureResourceSpec] = AzureResourceSpec(
Expand Down Expand Up @@ -652,7 +652,7 @@ def connect_in_graph(self, builder: GraphBuilder, source: Json) -> None:
@define(eq=False, slots=False)
class AzurePostgresqlServerBackup(MicrosoftResource, AzureProxyResource):
kind: ClassVar[str] = "azure_postgresql_server_backup"
kind_display: ClassVar[str] = "Azure Postgresql Server Backup"
kind_display: ClassVar[str] = "Azure PostgreSQL Server Backup"
kind_service: ClassVar[Optional[str]] = service_name
metadata: ClassVar[Dict[str, Any]] = {"icon": "backup", "group": "database"}
# Collect via AzurePostgresqlServer()
Expand Down

0 comments on commit 5cff654

Please sign in to comment.