{"id":22671391,"url":"https://github.com/cloudforet-io/plugin-azure-inven-collector","last_synced_at":"2025-04-12T12:22:36.141Z","repository":{"id":62638151,"uuid":"532700712","full_name":"cloudforet-io/plugin-azure-inven-collector","owner":"cloudforet-io","description":"Plugins for MS Azure Cloud Services","archived":false,"fork":false,"pushed_at":"2025-04-09T02:44:53.000Z","size":11006,"stargazers_count":8,"open_issues_count":4,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T03:29:38.326Z","etag":null,"topics":["collector","inventory","plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudforet-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-05T01:12:48.000Z","updated_at":"2025-04-09T02:44:58.000Z","dependencies_parsed_at":"2024-05-20T03:32:57.096Z","dependency_job_id":"820ba969-1b16-446b-ae76-77fc1a95ec74","html_url":"https://github.com/cloudforet-io/plugin-azure-inven-collector","commit_stats":null,"previous_names":[],"tags_count":187,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-azure-inven-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-azure-inven-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-azure-inven-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-azure-inven-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudforet-io","download_url":"https://codeload.github.com/cloudforet-io/plugin-azure-inven-collector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565267,"owners_count":21125446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collector","inventory","plugin"],"created_at":"2024-12-09T16:14:52.770Z","updated_at":"2025-04-12T12:22:36.117Z","avatar_url":"https://github.com/cloudforet-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eMicrosoft Azure Collector\u003c/h1\u003e  \n\n\u003cbr/\u003e  \n\u003cdiv align=\"center\" style=\"display:flex;\"\u003e  \n  \u003cimg width=\"245\" src=\"https://spaceone-custom-assets.s3.ap-northeast-2.amazonaws.com/console-assets/icons/azure-cloud-services.svg\"\u003e\n  \u003cp\u003e \n    \u003cbr\u003e\n    \u003cimg alt=\"Version\"  src=\"https://img.shields.io/badge/version-2.0.0-blue.svg?cacheSeconds=2592000\"  /\u003e    \n    \u003ca href=\"https://www.apache.org/licenses/LICENSE-2.0\"  target=\"_blank\"\u003e\u003cimg alt=\"License: Apache 2.0\"  src=\"https://img.shields.io/badge/License-Apache 2.0-yellow.svg\" /\u003e\u003c/a\u003e \n  \u003c/p\u003e \n\u003c/div\u003e \n\n#### Plugin to collect Microsoft Azure Cloud Services\n\n\n\u003e Cloudforet's [plugin-azure-cloud-services](https://github.com/cloudforet-io/plugin-azure-inven-collector) is a convenient tool to \nget cloud service data from Azure Cloud Services. \n\n\nFind us also at [Dockerhub](https://hub.docker.com/r/cloudforet/plugin-azure-inven-collector)\n\u003e Latest stable version : 2.0.0\n\nPlease contact us if you need any further information. \n\u003cadmin@cloudforet.io\u003e\n\n\n## Contents\n\n| Cloud Service Type | Cloud Service                                               |\n|--------------------|-------------------------------------------------------------|\n| Instance           | [Application Gateways](#application-gateways)               |\n| Container          | [Container Instances](#container-instances)                 |\n| Instance           | [CosmosDB](#cosmos-db)                                      |\n| Disk               | [Disks](#disks)                                             |\n| Instance           | [KeyVaults](#key-vaults)                                    |\n| Instance           | [Load Balancers](#load-balancers)                           |\n| Server             | [MySQL Servers](#mysql-servers---deprecated)                |\n| Server             | [MySQL Flexible Servers](#mysql-flexible-servers)           |\n| Instance           | [NAT Gateways](#nat-gateways)                               |\n| Instance           | [Network Security Groups](#network-security-groups)         |\n| Server             | [PostgreSQL Servers](#postgresql-servers---deprecated)      |\n| Server             | [PostgreSQL Flexible Servers](#postgresql-flexible-servers) |\n| IPAddress          | [Public IP Addresses](#public-ip-addresses)                 |\n| Instance           | [Snapshots](#snapshots)                                     |\n| Server             | [SQL Servers](#sql-servers)                                 |\n| Database           | [SQL Databases](#sql-databases)                             |\n| Storage            | [Storage Accounts](#storage-accounts)                       |\n| Instance           | [Virtual Machines](#virtual-machines)                       |\n| Instance           | [Virtual Networks](#virtual-networks)                       |\n| ScaleSet           | [VM ScaleSets](#virtual-machine-scale-sets)                 |\n| Service            | [Web PubSub Service](#web-pubsub-service)                   |\n    \n---\n## SETTING\nYou should insert information about account in Cloudforet's **Service Account** initially.\n* Base Information\n\t* `name`\n\t* `Tenant ID`\n\t* `Subscription ID`\n\t* `Tag`\n\n* Credentials\n\t* `Tenant ID`\n\t* `Subscription ID`\n\t* `Client Secret`\n\t* `Client ID`\n---\n\n## Azure Service Endpoint (in use)\n\n There is an endpoints used to collect Azure resources information.\n\n\u003cpre\u003e\nhttps://management.azure.com\nhttps://login.microsoftonline.com\nhttps://*.vault.azure.net\n\u003c/pre\u003e\n\n---\n\n## Service list\n\nThe following is a list of services being collected and service code information.\n\n| No. | Service name                | Service Code                                |\n|-----|-----------------------------|---------------------------------------------|\n| 1   | Application Gateways        | Microsoft.Network/applicationGateways       |\n| 2   | Cosmos DB                   | Microsoft.DocumentDB/databaseAccounts       |\n| 3   | Disks                       | Microsoft.Compute/disks                     |\n| 4   | Key Vaults                  | Microsoft.KeyVault/vaults                   |\n| 5   | Load Balancers              | Microsoft.Network/loadBalancers             |\n| 6   | MySQL Servers               | Microsoft.DBforMySQL/servers                |\n| 7   | MySQL Flexible Servers      | Microsoft.DBforMySQL/flexibleServers        |\n| 8   | SQL Servers                 | Microsoft.Sql/servers                       |\n| 9   | SQL Databases               | Microsoft.Sql/servers/databases             |\n| 10  | NAT Gateways                | Microsoft.Network/natGateways               |\n| 11  | Network Security Groups     | Microsoft.Network/networkSecurityGroups     |\n| 12  | PostgreSQL Servers          | Microsoft.DBforPostgreSQL/servers           |\n| 13  | PostgreSQL Flexible Servers | Microsoft.DBforPostgreSQL/flexibleServers   |\n| 14  | Public IP Addresses         | Microsoft.Network/publicIPAddresses         |\n| 15  | Snapshots                   | Microsoft.Compute/snapshots                 |\n| 16  | Storage Accounts            | Microsoft.Storage/storageAccounts           |\n| 17  | Virtual Machines            | Microsoft.Compute/virtualMachines           |\n| 18  | Virtual Networks            | Microsoft.Network/virtualNetworks           |\n| 19  | VM ScaleSets                | Microsoft.Compute/virtualMachineScaleSets   |\n| 20  | Container Instances         | Microsoft.ContainerInstance/containerGroups |\n| 21  | Web PubSub Service          | Microsoft.SignalRService/WebPubSub          |\n---\n\n## Authentication Overview\nRegistered service account on Cloudforet must have certain permissions to collect cloud service data \nPlease, set authentication privilege for followings:\n\n### Custom roles for collecting Azure cloud resources \nCloudforet Azure collector requires several privileges for collecting resources. \u003cbr\u003e\nPlease create custom roles in Azure portal, and assign following roles to Cloudforet Azure collector apps before collect resources.\nFor information on creating custom roles in Azure, see the [Microsoft custom role document](https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles). \u003cbr\u003e\n```\n{\n    \"properties\": {\n        \"roleName\": \"cloudforet_azure_collector_role\",\n        \"description\": \"custom role for cloudforet azure collector\",\n        \"assignableScopes\": [\n            \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx\"\n        ],\n        \"permissions\": [\n            {\n                \"actions\": [\n                    \"Microsoft.Network/applicationGateways/read\",\n                    \"Microsoft.Network/applicationGateways/privateEndpointConnections/read\",\n                    \"Microsoft.Network/applicationGateways/privateLinkConfigurations/read\",\n                    \"Microsoft.Network/applicationGateways/privateLinkResources/read\",\n                    \"Microsoft.Network/publicIPAddresses/read\",\n                    \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n                    \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/logDefinitions/read\",\n                    \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/metricDefinitions/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/services/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/listKeys/action\",\n                    \"Microsoft.DocumentDB/databaseAccounts/privateLinkResources/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKeys/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/tables/read\",\n                    \"Microsoft.Compute/disks/read\",\n                    \"Microsoft.KeyVault/vaults/read\",\n                    \"Microsoft.KeyVault/vaults/keys/read\",\n                    \"Microsoft.KeyVault/vaults/providers/Microsoft.Insights/diagnosticSettings/Read\",\n                    \"Microsoft.KeyVault/vaults/privateEndpointConnections/read\",\n                    \"Microsoft.KeyVault/vaults/privateEndpointConnectionProxies/read\",\n                    \"Microsoft.KeyVault/vaults/secrets/read\",\n                    \"Microsoft.Network/loadBalancers/read\",\n                    \"Microsoft.Network/loadBalancers/backendAddressPools/read\",\n                    \"Microsoft.Network/loadBalancers/backendAddressPools/backendPoolAddresses/read\",\n                    \"Microsoft.Network/loadBalancers/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Network/loadBalancers/frontendIPConfigurations/read\",\n                    \"Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/read\",\n                    \"Microsoft.Network/loadBalancers/inboundNatPools/read\",\n                    \"Microsoft.Network/loadBalancers/inboundNatRules/read\",\n                    \"Microsoft.Network/loadBalancers/loadBalancingRules/read\",\n                    \"Microsoft.Network/loadBalancers/providers/Microsoft.Insights/logDefinitions/read\",\n                    \"Microsoft.Network/loadBalancers/outboundRules/read\",\n                    \"Microsoft.Network/loadBalancers/networkInterfaces/read\",\n                    \"Microsoft.Network/loadBalancers/probes/read\",\n                    \"Microsoft.Network/loadBalancers/virtualMachines/read\",\n                    \"Microsoft.Network/networkInterfaces/loadBalancers/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/joinLoadBalancer/action\",\n                    \"Microsoft.Network/virtualNetworks/joinLoadBalancer/action\",\n                    \"Microsoft.DBforMySQL/flexibleServers/read\",\n                    \"Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.DBforMySQL/servers/read\",\n                    \"Microsoft.DBforMySQL/servers/administrators/read\",\n                    \"Microsoft.DBforMySQL/servers/advisors/read\",\n                    \"Microsoft.DBforMySQL/servers/privateEndpointConnectionProxies/read\",\n                    \"Microsoft.DBforMySQL/servers/keys/read\",\n                    \"Microsoft.DBforMySQL/servers/privateEndpointConnections/read\",\n                    \"Microsoft.DBforMySQL/servers/privateLinkResources/read\",\n                    \"Microsoft.DBforMySQL/servers/configurations/read\",\n                    \"Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/metricDefinitions/read\",\n                    \"Microsoft.DBforMySQL/servers/firewallRules/read\",\n                    \"Microsoft.DBforMySQL/servers/databases/read\",\n                    \"Microsoft.DBforMySQL/servers/replicas/read\",\n                    \"Microsoft.DBforMySQL/servers/performanceTiers/read\",\n                    \"Microsoft.DBforMySQL/servers/recoverableServers/read\",\n                    \"Microsoft.DBforMySQL/servers/virtualNetworkRules/read\",\n                    \"Microsoft.Network/natGateways/read\",\n                    \"Microsoft.Network/natGateways/join/action\",\n                    \"microsoft.network/vpnGateways/natRules/read\",\n                    \"microsoft.network/virtualNetworkGateways/natRules/read\",\n                    \"Microsoft.Network/publicIPAddresses/read\",\n                    \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n                    \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Network/publicIPPrefixes/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/read\",\n                    \"Microsoft.Network/networkSecurityGroups/read\",\n                    \"Microsoft.Network/networkSecurityGroups/defaultSecurityRules/read\",\n                    \"Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Network/networkSecurityGroups/securityRules/read\",\n                    \"Microsoft.Network/networkInterfaces/read\",\n                    \"Microsoft.Network/networkInterfaces/effectiveNetworkSecurityGroups/action\",\n                    \"Microsoft.Network/virtualNetworks/subnets/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action\",\n                    \"Microsoft.Network/virtualNetworks/subnets/join/action\",\n                    \"Microsoft.DBforPostgreSQL/servers/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/administrators/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/advisors/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionProxies/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/keys/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/privateLinkResources/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/configurations/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/firewallRules/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/databases/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/replicas/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/recoverableServers/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/securityAlertPolicies/read\",\n                    \"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules/read\",\n                    \"Microsoft.Network/publicIPAddresses/read\",\n                    \"Microsoft.Network/publicIPAddresses/join/action\",\n                    \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n                    \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Network/publicIPAddresses/read\",\n                    \"Microsoft.Network/publicIPAddresses/join/action\",\n                    \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n                    \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Storage/deletedAccounts/read\",\n                    \"Microsoft.Storage/storageAccounts/read\",\n                    \"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\n                    \"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Storage/storageAccounts/blobServices/read\",\n                    \"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\n                    \"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Storage/storageAccounts/privateLinkResources/read\",\n                    \"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\n                    \"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/networkInterfaces/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/publicIPAddresses/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/extensions/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/extensions/roles/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/instanceView/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/osUpgradeHistory/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/skus/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/rollingUpgrades/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/providers/Microsoft.Insights/metricDefinitions/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/vmSizes/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/instanceView/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/ipConfigurations/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/ipConfigurations/publicIPAddresses/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands/read\",\n                    \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/providers/Microsoft.Insights/metricDefinitions/read\",\n                    \"Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks/read\",\n                    \"Microsoft.Network/loadBalancers/virtualMachines/read\",\n                    \"Microsoft.Network/networkInterfaces/join/action\",\n                    \"Microsoft.Network/privateDnsZones/read\",\n                    \"Microsoft.Network/privateDnsZones/virtualNetworkLinks/read\",\n                    \"Microsoft.Network/locations/virtualNetworkAvailableEndpointServices/read\",\n                    \"Microsoft.Network/virtualNetworks/read\",\n                    \"Microsoft.Network/locations/supportedVirtualMachineSizes/read\",\n                    \"Microsoft.Network/virtualNetworks/bastionHosts/default/action\",\n                    \"Microsoft.Network/virtualNetworks/checkIpAddressAvailability/read\",\n                    \"Microsoft.Network/virtualNetworks/privateDnsZoneLinks/read\",\n                    \"Microsoft.Network/virtualNetworks/usages/read\",\n                    \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings/read\",\n                    \"Microsoft.Network/virtualNetworks/remoteVirtualNetworkPeeringProxies/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/contextualServiceEndpointPolicies/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks/details/read\",\n                    \"Microsoft.Network/virtualNetworks/subnets/virtualMachines/read\",\n                    \"Microsoft.Network/virtualNetworks/virtualMachines/read\",\n                    \"Microsoft.Network/virtualNetworks/customViews/read\",\n                    \"Microsoft.Network/virtualNetworks/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"Microsoft.Network/virtualNetworkGateways/read\",\n                    \"microsoft.network/virtualNetworkGateways/natRules/read\",\n                    \"Microsoft.Network/virtualNetworkGateways/providers/Microsoft.Insights/diagnosticSettings/read\",\n                    \"microsoft.network/virtualnetworkgateways/connections/read\",\n                    \"Microsoft.Network/connections/read\",\n                    \"Microsoft.Network/virtualNetworkTaps/read\",\n                    \"Microsoft.Network/virtualNetworkTaps/networkInterfaceTapConfigurationProxies/read\",\n                    \"Microsoft.Network/virtualRouters/read\",\n                    \"Microsoft.Network/virtualRouters/providers/Microsoft.Insights/metricDefinitions/read\",\n                    \"Microsoft.Network/virtualRouters/peerings/read\",\n                    \"Microsoft.DocumentDB/databaseAccounts/listKeys/action\",\n                    \"Microsoft.ContainerInstance/containerGroups/read\",\n                    \"Microsoft.SignalRService/WebPubSub/read\",\n                    \"Microsoft.SignalRService/WebPubSub/hubs/read\",\n                    \"Microsoft.SignalRService/webPubSub/listKeys/action\",\n                    \"Microsoft.Insights/Metrics/Read\",\n                    \"Microsoft.Sql/servers/read\",\n                    \"Microsoft.Sql/servers/administrators/read\",\n                    \"Microsoft.Sql/servers/databases/read\",\n                    \"Microsoft.Sql/servers/automaticTuning/read\",\n                    \"Microsoft.Sql/servers/databases/automaticTuning/read\",\n                    \"Microsoft.Sql/servers/databases/auditingSettings/read\",\n                    \"Microsoft.Sql/servers/auditingSettings/read\",\n                    \"Microsoft.Sql/servers/failoverGroups/read\",\n                    \"Microsoft.Sql/servers/encryptionProtector/read\",\n                    \"Microsoft.Sql/servers/elasticPools/read\",\n                    \"Microsoft.Sql/servers/elasticPools/databases/read\",\n                    \"Microsoft.Sql/servers/restorableDroppedDatabases/read\",\n                    \"Microsoft.Sql/servers/firewallRules/read\",\n                    \"Microsoft.Sql/servers/virtualNetworkRules/read\",\n                    \"Microsoft.Sql/servers/databases/syncGroups/read\",\n                    \"Microsoft.Sql/servers/syncAgents/read\",\n                    \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read\",\n                    \"Microsoft.Sql/servers/databases/replicationLinks/read\",\n                    \"Microsoft.Sql/servers/replicationLinks/read\"\n                ],\n                \"notActions\": [],\n                \"dataActions\": [],\n                \"notDataActions\": []\n            }\n        ]\n    }\n}\n```\n### Additional custom roles for Cloudforet collector\nSome of cloud services require several additional IAM settings for collecting resources. \u003cbr\u003e\n\n#### [Key Vaults](https://learn.microsoft.com/en-us/python/api/azure-mgmt-keyvault/azure.mgmt.keyvault?view=azure-python)\n\n- KeyVaults\n\nFor collecting Azure ```KeyVaults``` resources, you need to assign a Key Vault access policy to SpaceONE collector App in Azure portal.\n\nFor information on assigning access policy, see [Microsoft key vault access policy document - legacy](https://docs.microsoft.com/en-us/azure/key-vault/general/assign-access-policy?tabs=azure-portal).\u003cbr\u003e\nIf your ```KeyVaults``` has Azure RBAC model see [Microsoft key vault access policy document](https://learn.microsoft.com/en-us/azure/role-based-access-control/overview?WT.mc_id=Portal-Microsoft_Azure_KeyVault)\n\n#### [Cosmos DB](https://learn.microsoft.com/en-us/python/api/azure-mgmt-cosmosdb/azure.mgmt.cosmosdb?view=azure-python)\n\n- Cosmos DB\n\nFor collecting key lists in ```CosmosDB``` azure resources, you need to assign an access policy to SpaceONE collector App in Azure portal.\nFor information on creating custom roles in Azure, see the [Microsoft custom role document](https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles). \u003cbr\u003e\n\n```\n{\n    \"properties\": {\n        \"roleName\": \"YOUR_ROLE_NAME_FOR_LIST_KEYS_IN_COSMOSDB\",\n        \"description\": \"\",\n        \"assignableScopes\": [\n            \"/subscriptions/YOUR_SUBSCRIPTION_ID\"\n        ],\n        \"permissions\": [\n            {\n                \"actions\": [\n                    \"Microsoft.DocumentDB/databaseAccounts/listKeys/action\"\n                ],\n                \"notActions\": [],\n                \"dataActions\": [],\n                \"notDataActions\": []\n            }\n        ]\n    }\n}\n```\n\n#### [Virtual Machines](https://docs.microsoft.com/ko-kr/rest/api/compute/virtualmachines/list)\n      \n- Virtual Machines\n\n    - Scope\n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-resource/azure.mgmt.resource.resources.resourcemanagementclient?view=azure-python#azure-mgmt-resource-resources-resourcemanagementclient-resource-groups\n          - resource_groups\n            - list() \n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-compute/azure.mgmt.compute.computemanagementclient?view=azure-python#azure-mgmt-compute-computemanagementclient-virtual-machines\n          - virtual_machines\n            - list_all()\n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-network/azure.mgmt.network.networkmanagementclient?view=azure-python#azure-mgmt-network-networkmanagementclient-virtual-networks\n          - virtual_networks\n            - list_all()\n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-network/azure.mgmt.network.networkmanagementclient?view=azure-python#azure-mgmt-network-networkmanagementclient-public-ip-addresses\n          - public_ip_addresses\n            - list_all()\n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-network/azure.mgmt.network.networkmanagementclient?view=azure-python#azure-mgmt-network-networkmanagementclient-network-interfaces\n          - network_interfaces\n            - list_all()\n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-network/azure.mgmt.network.networkmanagementclient?view=azure-python#azure-mgmt-network-networkmanagementclient-network-security-groups\n          - network_security_groups\n            - list_all()\n\t\t\n    - Permissions\n        ```\n        - Microsoft.Compute/*/read\n        - Microsoft.Resources/*/read\n        - Microsoft.Network/networkInterfaces/read\t\n        - Microsoft.Network/publicIPAddresses/read\n        - Microsoft.Network/networkSecurityGroups/read\n        - Microsoft.Network/loadBalancers/read\n        ```\n\t\n  \n#### [Virtual Machine Scale Sets](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesets/listall)\n- Virtual Machine Scale Sets\n    - Scope\n        - https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesets/listall\n        - https://docs.microsoft.com/en-us/rest/api/compute/virtualmachinescalesetvms/list\n\n    - Permissions\n        ```\n        \"Microsoft.Compute/virtualMachineScaleSets/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/networkInterfaces/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/publicIPAddresses/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/extensions/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/extensions/roles/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/instanceView/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/osUpgradeHistory/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/skus/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/rollingUpgrades/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/providers/Microsoft.Insights/metricDefinitions/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/vmSizes/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/instanceView/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/ipConfigurations/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/networkInterfaces/ipConfigurations/publicIPAddresses/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands/read\",\n        \"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/providers/Microsoft.Insights/metricDefinitions/read\"\n        ```\n        \n#### [Virtual Networks](https://docs.microsoft.com/en-us/rest/api/virtualnetwork/virtual-networks/list-all)\n- Virtual Networks\n    - Scope\n        - https://docs.microsoft.com/en-us/rest/api/virtualnetwork/virtual-networks/list-all\n\n- Permissions\n  ```\n    \"Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks/read\",\n    \"Microsoft.Network/virtualNetworks/listDnsResolvers/action\",\n    \"Microsoft.Network/virtualNetworks/listDnsForwardingRulesets/action\"\n    \"Microsoft.Network/loadBalancers/virtualMachines/read\",\n    \"Microsoft.Network/networkInterfaces/join/action\",\n    \"Microsoft.Network/privateDnsZones/read\",\n    \"Microsoft.Network/privateDnsZones/virtualNetworkLinks/read\",\n    \"Microsoft.Network/locations/virtualNetworkAvailableEndpointServices/read\",\n    \"Microsoft.Network/virtualNetworks/read\",\n    \"Microsoft.Network/locations/supportedVirtualMachineSizes/read\",\n    \"Microsoft.Network/virtualNetworks/bastionHosts/default/action\",\n    \"Microsoft.Network/virtualNetworks/checkIpAddressAvailability/read\",\n    \"Microsoft.Network/virtualNetworks/privateDnsZoneLinks/read\",\n    \"Microsoft.Network/virtualNetworks/usages/read\",\n    \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings/read\",\n    \"Microsoft.Network/virtualNetworks/remoteVirtualNetworkPeeringProxies/read\",\n    \"Microsoft.Network/virtualNetworks/subnets/read\",\n    \"Microsoft.Network/virtualNetworks/subnets/contextualServiceEndpointPolicies/read\",\n    \"Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks/read\",\n    \"Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks/read\",\n    \"Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks/details/read\",\n    \"Microsoft.Network/virtualNetworks/subnets/virtualMachines/read\",\n    \"Microsoft.Network/virtualNetworks/virtualMachines/read\",\n    \"Microsoft.Network/virtualNetworks/customViews/read\",\n    \"Microsoft.Network/virtualNetworks/providers/Microsoft.Insights/diagnosticSettings/read\",\n    \"Microsoft.Network/virtualNetworkGateways/read\",\n    \"microsoft.network/virtualNetworkGateways/natRules/read\",\n    \"Microsoft.Network/virtualNetworkGateways/providers/Microsoft.Insights/diagnosticSettings/read\",\n    \"microsoft.network/virtualnetworkgateways/connections/read\",\n    \"Microsoft.Network/connections/read\",\n    \"Microsoft.Network/virtualNetworkTaps/read\",\n    \"Microsoft.Network/virtualNetworkTaps/networkInterfaceTapConfigurationProxies/read\",\n    \"Microsoft.Network/virtualRouters/read\",\n    \"Microsoft.Network/virtualRouters/providers/Microsoft.Insights/metricDefinitions/read\",\n    \"Microsoft.Network/virtualRouters/peerings/read\"\n  ```\t\n        \n\n#### [Disks](https://docs.microsoft.com/en-ca/rest/api/compute/disks/list)\n- Disks\n    - Scope\n        - https://docs.microsoft.com/en-ca/rest/api/compute/disks/list\n    \n    - Permissions\n       ```\n       \"Microsoft.Compute/disks/read\"\n       ```\n\n\n#### [Snapshots](https://docs.microsoft.com/en-us/rest/api/compute/snapshots/list)\n- Snapshots\n    - Scope\n        - https://docs.microsoft.com/en-us/rest/api/compute/snapshots/list\n    \n    - Permissions\n      ```\n       \"Microsoft.Compute/snapshots/read\",\n       \"Microsoft.Compute/snapshots/beginGetAccess/action\"\n      ```\n\n#### [SQL Servers](https://docs.microsoft.com/en-us/rest/api/sql/2021-02-01-preview/servers)\n- SQL Servers\n    - Scope \n        - https://learn.microsoft.com/en-us/python/api/azure-mgmt-sql/azure.mgmt.sql.sqlmanagementclient?view=azure-python\n          - servers\n            - list()\n          - databases\n            - list_by_server()\n            - list_by_elastic_pool()\n          - server_azure_ad_administrators\n            - list_by_server()\n          - server_automatic_tuning\n            - get()\n          - server_blob_auditing_policies\n            - get()\n          - failover_groups\n            - list_by_server()\n          - list_encryption_protectors\n            - list_by_server()\n          - elastic_pools\n            - list_by_server()\n          - restorable_dropped_databases\n            - list_by_server()\n          - firewall_rules\n            - list_by_server()\n          - virtual_network_rules\n            - list_by_server()\n          - sync_groups\n            - list_by_server()\n          - sync_agents\n            - list_by_server()\n          - data_masking_policies\n            - list_by_database()\n          - replication_links\n            - list_by_database()\n\n    - Permissions\n    ```\n    \"Microsoft.Sql/servers/read\",\n    \"Microsoft.Sql/servers/administrators/read\",\n    \"Microsoft.Sql/servers/databases/read\",\n    \"Microsoft.Sql/servers/automaticTuning/read\",\n    \"Microsoft.Sql/servers/databases/automaticTuning/read\",\n    \"Microsoft.Sql/servers/databases/auditingSettings/read\",\n    \"Microsoft.Sql/servers/auditingSettings/read\",\n    \"Microsoft.Sql/servers/failoverGroups/read\",\n    \"Microsoft.Sql/servers/encryptionProtector/read\",\n    \"Microsoft.Sql/servers/elasticPools/read\",\n    \"Microsoft.Sql/servers/elasticPools/databases/read\",\n    \"Microsoft.Sql/servers/restorableDroppedDatabases/read\",\n    \"Microsoft.Sql/servers/firewallRules/read\",\n    \"Microsoft.Sql/servers/virtualNetworkRules/read\",\n    \"Microsoft.Sql/servers/databases/syncGroups/read\",\n    \"Microsoft.Sql/servers/syncAgents/read\",\n    \"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules/read\",\n    \"Microsoft.Sql/servers/databases/replicationLinks/read\",\n    \"Microsoft.Sql/servers/replicationLinks/read\"\n    ```\n\n#### [SQL Databases](https://learn.microsoft.com/en-us/python/api/azure-mgmt-sql/azure.mgmt.sql.operations.databasesoperations?view=azure-python)\n- SQL Databases\n  - Scope\n    - https://learn.microsoft.com/en-us/python/api/azure-mgmt-sql/azure.mgmt.sql.sqlmanagementclient?view=azure-python\n        - servers\n          - list()\n        - databases\n          - list_by_server()\n        - sync_groups\n          - list_by_database()\n        - sync_agents\n          - list_by_server()\n        - replication_links\n          - list_by_server()\n        - database_blob_auditing_policies\n          - get()\n  - Permissions\n    ```\n    \"Microsoft.Sql/servers/read\",\n    \"Microsoft.Sql/servers/syncAgents/read\",\n    \"Microsoft.Sql/servers/replicationLinks/read\",\n    \"Microsoft.Sql/servers/databases/replicationLinks/read\",\n    \"Microsoft.Sql/servers/databases/read\",\n    \"Microsoft.Sql/servers/databases/auditingSettings/read\",\n    \"Microsoft.Sql/servers/databases/syncGroups/read\"\n    ```\n#### [Load Balancers](https://docs.microsoft.com/en-us/rest/api/load-balancer/loadbalancers/listall)\n- Load Balancer\n    - Scope \n        - https://docs.microsoft.com/en-us/rest/api/load-balancer/loadbalancers/listall\n        - https://docs.microsoft.com/ko-kr/rest/api/virtualnetwork/subnets/get\n\n    - Permissions\n        ```\n        \"Microsoft.Network/loadBalancers/read\",\n        \"Microsoft.Network/loadBalancers/backendAddressPools/read\",\n        \"Microsoft.Network/loadBalancers/backendAddressPools/backendPoolAddresses/read\",\n        \"Microsoft.Network/loadBalancers/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Network/loadBalancers/frontendIPConfigurations/read\",\n        \"Microsoft.Network/loadBalancers/frontendIPConfigurations/loadBalancerPools/read\",\n        \"Microsoft.Network/loadBalancers/inboundNatPools/read\",\n        \"Microsoft.Network/loadBalancers/inboundNatRules/read\",\n        \"Microsoft.Network/loadBalancers/loadBalancingRules/read\",\n        \"Microsoft.Network/loadBalancers/providers/Microsoft.Insights/logDefinitions/read\",\n        \"Microsoft.Network/loadBalancers/outboundRules/read\",\n        \"Microsoft.Network/loadBalancers/networkInterfaces/read\",\n        \"Microsoft.Network/loadBalancers/probes/read\",\n        \"Microsoft.Network/loadBalancers/virtualMachines/read\",\n        \"Microsoft.Network/networkInterfaces/loadBalancers/read\",\n        \"Microsoft.Network/virtualNetworks/subnets/joinLoadBalancer/action\",\n        \"Microsoft.Network/virtualNetworks/joinLoadBalancer/action\"\n        ```\n\n#### [Public IP Addresses](https://docs.microsoft.com/en-us/rest/api/virtualnetwork/public-ip-addresses/list-all)\n- Public IP Address\n    - Scope \n        - https://docs.microsoft.com/en-us/rest/api/virtualnetwork/public-ip-addresses/list-all\n\n    - Permissions\n      ```\n        \"Microsoft.Network/publicIPAddresses/read\",\n        \"Microsoft.Network/publicIPAddresses/join/action\",\n        \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n        \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\"\n      ```\n\n\n#### [Network Security Groups](https://docs.microsoft.com/en-us/rest/api/virtualnetwork/network-security-groups/list-all)\n- Network Security Group\n    - Scope \n        - https://docs.microsoft.com/en-us/rest/api/virtualnetwork/network-security-groups/list-all\n\n    - Permissions\n      ```\n        \"Microsoft.Network/networkSecurityGroups/read\",\n        \"Microsoft.Network/networkSecurityGroups/defaultSecurityRules/read\",\n        \"Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Network/networkSecurityGroups/securityRules/read\",\n        \"Microsoft.Network/networkInterfaces/read\",\n        \"Microsoft.Network/networkInterfaces/effectiveNetworkSecurityGroups/action\",\n        \"Microsoft.Network/virtualNetworks/subnets/read\",\n        \"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action\",\n        \"Microsoft.Network/virtualNetworks/subnets/join/action\"\n      ```\n\n#### [Application Gateways](https://docs.microsoft.com/en-us/rest/api/application-gateway/application-gateways/list-all)\n- Application Gateways\n    - Scope \n        - https://docs.microsoft.com/en-us/rest/api/application-gateway/application-gateways/list-all\n\n    - Permissions\n      ```\n        \"Microsoft.Network/applicationGateways/read\",\n        \"Microsoft.Network/applicationGateways/privateEndpointConnections/read\",\n        \"Microsoft.Network/applicationGateways/privateLinkConfigurations/read\",\n        \"Microsoft.Network/applicationGateways/privateLinkResources/read\",\n        \"Microsoft.Network/publicIPAddresses/read\",\n        \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n        \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/logDefinitions/read\",\n        \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/metricDefinitions/read\"\n      ```\n\n#### [NAT Gateways](https://docs.microsoft.com/en-us/rest/api/virtualnetwork/nat-gateways/list-all)\n- NAT Gateways\n    - Scope \n        - https://docs.microsoft.com/en-us/rest/api/virtualnetwork/nat-gateways/list-all\n\n    - Permissions\n      ```\n        \"Microsoft.Network/natGateways/read\",\n        \"Microsoft.Network/natGateways/join/action\",\n        \"microsoft.network/vpnGateways/natRules/read\",\n        \"microsoft.network/virtualNetworkGateways/natRules/read\",\n        \"Microsoft.Network/publicIPAddresses/read\",\n        \"Microsoft.Network/publicIPAddresses/dnsAliases/read\",\n        \"Microsoft.Network/publicIPAddresses/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Network/publicIPPrefixes/read\",\n        \"Microsoft.Network/virtualNetworks/subnets/read\"\n      ```\n\n#### [Storage Accounts](https://docs.microsoft.com/en-us/rest/api/storagerp/storage-accounts/list#blobrestorerange)\n- Storage Accounts\n    - Scope \n        - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-storage/azure.mgmt.storage.storagemanagementclient?view=azure-python\n          - storage_accounts\n            - list()\n          - blob_containers\n            - list()\n        - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-monitor/azure.mgmt.monitor.monitormanagementclient?view=azure-python\n          - metrics\n            - list()\n    - Permissions\n      ```\n        \"Microsoft.Storage/deletedAccounts/read\",\n        \"Microsoft.Storage/storageAccounts/read\",\n        \"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\n        \"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Storage/storageAccounts/blobServices/read\",\n        \"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\n        \"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.Storage/storageAccounts/privateLinkResources/read\",\n        \"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\n        \"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\n        \"Microsoft.Insights/Metrics/Read\"\n      ```\n\n\n#### ~~[MySQL Servers](https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.mysql.mysqlmanagementclient?view=azure-python)~~ (Deprecated)\n- MySQL Servers\n    - Scope \n        - https://docs.microsoft.com/en-us/rest/api/storagerp/storage-accounts/list\n    - Permissions\n        ```\n        \"Microsoft.DBforMySQL/flexibleServers/read\",\n        \"Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.DBforMySQL/servers/read\",\n        \"Microsoft.DBforMySQL/servers/administrators/read\",\n        \"Microsoft.DBforMySQL/servers/advisors/read\",\n        \"Microsoft.DBforMySQL/servers/privateEndpointConnectionProxies/read\",\n        \"Microsoft.DBforMySQL/servers/keys/read\",\n        \"Microsoft.DBforMySQL/servers/privateEndpointConnections/read\",\n        \"Microsoft.DBforMySQL/servers/privateLinkResources/read\",\n        \"Microsoft.DBforMySQL/servers/configurations/read\",\n        \"Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/diagnosticSettings/read\",\n        \"Microsoft.DBforMySQL/servers/providers/Microsoft.Insights/metricDefinitions/read\",\n        \"Microsoft.DBforMySQL/servers/firewallRules/read\",\n        \"Microsoft.DBforMySQL/servers/databases/read\",\n        \"Microsoft.DBforMySQL/servers/replicas/read\",\n        \"Microsoft.DBforMySQL/servers/performanceTiers/read\",\n        \"Microsoft.DBforMySQL/servers/recoverableServers/read\",\n        \"Microsoft.DBforMySQL/servers/virtualNetworkRules/read\"\n        ```\n    \n    - ~~SpaceONE Inventory Collector only supports ``Single Servers`` type.~~ \n    - [``Azure Database for MySQL Single Servers``  is on the retirement path.](https://learn.microsoft.com/ko-kr/azure/mysql/migrate/whats-happening-to-mysql-single-server)\n\n\n#### [MySQL Flexible Servers](https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.mysql_flexibleservers.mysqlmanagementclient?view=azure-python)\n- MySQL Flexible Servers\n    - Scope\n        - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.mysql_flexibleservers.operations.serversoperations?view=azure-python\n          - servers\n            - list()\n        - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.mysql_flexibleservers.operations.firewallrulesoperations?view=azure-python\n          - firewall_rules\n            - list_by_server()\n    - Permissions\n        ```\n        \"Microsoft.DBforMySQL/flexibleServers/read\",\n        \"Microsoft.DBforMySQL/flexibleServers/firewallRules/read\"\n        ```\n\n\n#### ~~[PostgreSQL Servers](https://docs.microsoft.com/en-us/rest/api/postgresql/flexibleserver(preview)/servers/list)~~ (Deprecated)\n- PostgreSQL Servers\n    - Scope\n        - https://docs.microsoft.com/en-us/rest/api/postgresql/flexibleserver(preview)/servers/list\n    - Permissions\n      ```\n        \"Microsoft.DBforPostgreSQL/servers/read\",\n        \"Microsoft.DBforPostgreSQL/servers/administrators/read\",\n        \"Microsoft.DBforPostgreSQL/servers/advisors/read\",\n        \"Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionProxies/read\",\n        \"Microsoft.DBforPostgreSQL/servers/keys/read\",\n        \"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections/read\",\n        \"Microsoft.DBforPostgreSQL/servers/privateLinkResources/read\",\n        \"Microsoft.DBforPostgreSQL/servers/configurations/read\",\n        \"Microsoft.DBforPostgreSQL/servers/firewallRules/read\",\n        \"Microsoft.DBforPostgreSQL/servers/databases/read\",\n        \"Microsoft.DBforPostgreSQL/servers/replicas/read\",\n        \"Microsoft.DBforPostgreSQL/servers/recoverableServers/read\",\n        \"Microsoft.DBforPostgreSQL/servers/securityAlertPolicies/read\",\n        \"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules/read\"\n      ```\n      \n    - ~~SpaceONE Inventory Collector only supports ``Single Servers`` type.~~ \n    - [``Azure Database for PostgreSQL Single Servers`` is on the retirement path.](https://learn.microsoft.com/ko-kr/azure/postgresql/single-server/whats-happening-to-postgresql-single-server)\n      \n\n#### [PostgreSQL Flexible Servers](https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.postgresql_flexibleservers.postgresqlmanagementclient?view=azure-python)\n- PostgreSQL Servers\n    - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.postgresql_flexibleservers.operations.serversoperations?view=azure-python\n      - servers\n        - list()\n    - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-rdbms/azure.mgmt.rdbms.postgresql_flexibleservers.operations.firewallrulesoperations?view=azure-python\n      - firewall_rules\n        - list_by_server()\n    - Permissions\n      ```\n        \"Microsoft.DBforPostgreSQL/flexibleServers/read\",\n        \"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read\"\n      ```\n      \n\n#### [Container Instances](https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-containerinstance/azure.mgmt.containerinstance.containerinstancemanagementclient?view=azure-python)\n- Container Instances\n    - Scope\n        - https://learn.microsoft.com/ko-kr/python/api/azure-mgmt-containerinstance/azure.mgmt.containerinstance.containerinstancemanagementclient?view=azure-python\n          - container_groups\n            - list()\n    - Permissions\n      ```\n        \"Microsoft.ContainerInstance/containerGroups/read\"\n      ``` \n\n#### [Web PubSub Service](https://learn.microsoft.com/en-us/python/api/overview/azure/web-pubsub?view=azure-python)\n- Web PubSub Service\n    - Scope\n        - https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-webpubsub_1.1.0b1/sdk/webpubsub/azure-mgmt-webpubsub/azure/mgmt/webpubsub/operations\n          - web_pub_sub\n            - list_by_subscription()\n            - list_keys()\n          - web_pub_sub_hubs\n            - list()\n    - Permissions\n      ```\n      \"Microsoft.SignalRService/WebPubSub/read\",\n      \"Microsoft.SignalRService/WebPubSub/hubs/read\",\n      \"Microsoft.SignalRService/webPubSub/listKeys/action\"\n      ```\n---\n## Options\n\n### Cloud Service Type : Specify what to collect\n\nIf cloud_service_types is added to the list elements in options, only the specified cloud service type is collected.\nBy default, if cloud_service_types is not specified in options, all services are collected.\n\nThe cloud_service_types items that can be specified are as follows.\n\n\u003cpre\u003e\n\u003ccode\u003e\n{\n    \"cloud_service_types\": [\n        'ApplicationGateways',\n        'CosmosDB',\n        'Disks',\n        'KeyVaults',\n        'LoadBalancers',\n        'MySQLServers',\n        'SQLServers',\n        'SQLDatabases',\n        'NATGateways',\n        'NetworkSecurityGroups,\n        'PostgreSQLServers',\n        'PublicIPAddresses',\n        'Snapshots',\n        'StorageAccounts',\n        'VirtualMachines',\n        'VirtualNetworks',\n        'VMScaleSets',\n        'ContainerInstances',\n        'WebPubSubService'\n    ]\n}\n\u003c/code\u003e\n\u003c/pre\u003e\n\nHow to update plugin information using spacectl is as follows.\nFirst, create a yaml file to set options.\n\n\u003cpre\u003e\n\u003ccode\u003e\n\u003e cat update_collector.yaml\n---\ncollector_id: collector-xxxxxxx\noptions:\n  cloud_service_types:\n    - VMScaleSet\n    - VirtualNetwork\n\u003c/code\u003e\n\u003c/pre\u003e\n\nUpdate plugin through spacectl command with the created yaml file.\n\n\u003cpre\u003e\u003ccode\u003e\n\u003e spacectl exec update_plugin inventory.Collector -f update_collector.yaml\n\u003c/code\u003e\u003c/pre\u003e\n\n### Service Code Mapper : Convert service code in Cloud Service Type what you want.\n\nIf `service_code_mappers` is added in options, You can replace the service code specified in the cloud service type.\nThe service code set by default can be checked in the Service List item of this document.\n\nThe `service_code_mappers` items that can be specified are as follows.\n\n\u003cpre\u003e\n\u003ccode\u003e\n{\n    \"service_code_mappers\": {\n        \"Microsoft.Compute/disks\": \"Azure Virtual Disk\",\n        \"Microsoft.Storage/storageAccounts\": \"Azure Storage Account\",\n    }\n}\n\u003c/code\u003e\n\u003c/pre\u003e\n\n### Custom Asset URL : Update ASSET_URL in Cloud Service Type.\n\nIf `custom_asset_url` is in options, You can change it to an asset_url that users will use instead of the default asset_url.  \nThe default ASSET_URL in cloud_service_conf is \n`https://spaceone-custom-assets.s3.ap-northeast-2.amazonaws.com/console-assets/icons/cloud-services/azure`\n\n\u003cpre\u003e\n\u003ccode\u003e\n{\n    \"custom_asset_url\": \"https://xxxxx.cloudforet.dev/icon/azure\"\n}\n\u003c/code\u003e\n\u003c/pre\u003e\n\n---\n\n## Release Note\n\n\n| Version | Description                                                                                                                                                                                                                                                                                                                                                               | Affected Service                                    | Release Date |\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|--------------|\n| 2.0.0   | - [Migration to spaceone framework 2.0](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/91)                                                                                                                                                                                                                                                          | All Services                                        | 2024.08.22   |\n| 1.7.0   | - Add metric data query for all services                                                                                                                                                                                                                                                                                                                                  | All Services                                        | 2024.07.02   |\n| 1.6.18  | - [Fix Data Size too big error when collecting `StorageAccounts`](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/57)                                                                                                                                                                                                                                | Storage Accounts                                    | 2023.09.26   |\n| 1.6.15  | - [Fix `SQL Databases` error 'mappingproxy' object does not support item assignment](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/77)                                                                                                                                                                                                             | SQL Databases                                       | 2023.08.04   | \n| 1.6.14  | - [Fix `Application Gateways` error with assigned managed identity](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/73)                                                                                                                                                                                                                              | Application Gateways                                | 2023.08.01   |\n| 1.6.13  | - [Fix `Application Gateways` None type error](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/67)                                                                                                                                                                                                                                                   | Application Gateways                                | 2023.07.13   |\n| 1.6.12  | - [Fix `Virtual Networks` modeling error](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/64)\u003cbr/\u003e- [Fix `Disks` modeling error](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/60)\u003cbr\u003e- [Fix error occurs when collecting `SQL server` and database](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/41) | Virtual Networks, Disks, SQL Servers, SQL Databases | 2023.07.05   |\n| 1.6.9   | - [Fix CosmosDB location info](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/53)\u003cbr/\u003e- [Add all Azure location info](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/52)                                                                                                                                                      | CosmosDB                                            | 2023.06.30   |\n\n### Ver 1.6.14\n* [Fix `Application Gateways` error with assigned managed identity](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/73)\n\n### Ver 1.6.13\n* [Fix `Application Gateways` None type error](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/67)\n\n### Ver 1.6.12\n* [Fix `Virtual Networks` modeling error](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/64)\n* [Fix `Disks` modeling error](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/60)\n* [Fix error occurs when collecting `SQL server` and database](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/41)\n\n### Ver 1.6.9\n* [Fix CosmosDB location info](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/53)\n* [Add all Azure location info](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/52)\n\n### Ver 1.6.7\n* [Size of storage service(ex.disk, snapshot) display error at console](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/49)\n\n### Ver 1.6.4\n* [Error 'list index out of range' occur when collecting StorageAccounts](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/45)\n\n### Ver 1.6.3\n* [Fix error when collecting virtual machine](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/40)\n\n### Ver 1.6.1\n* [Collect the total size in use of the Azure ```Storage Account``` ](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/33)\n\n### Ver 1.6.0\n* [Add ```Web PubSub Service``` cloud service](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/21)\n\n### Ver 1.5.0\n* [Add ```Container Instances``` cloud service](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/14)\n\n### Ver 1.4.0\n* [Merge Azure vm plugin to Azure inventory collector](https://github.com/cloudforet-io/plugin-azure-inven-collector/issues/2)\n* Split SQL Servers to SQL Servers and SQL Databases\n* [Update Azure sdk version](https://github.com/cloudforet-io/plugin-azure-inven-collector/pull/4)\n* Fix Snapshot collecting issue\n* Change cloud_service_name and cloud_service_group\n\n### Ver 1.3.0\n* [Add feature for monitoring metrics](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/issues/190)\n\n### Ver 1.2.15\n* [Add feature to convert service_code to what you want using options](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/issues/186)\n\n### Ver 1.2.14\n* [Add feature for Usage Overview of cloud services](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/issues/174)\n\n### Ver 1.2.13\n* [Add feature to specify the Cloud Service Type and collect it.](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/issues/162)\n* [Add fields to cloud services model(account, instance_type, instance_size, launched_at)](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/issues/159) \n* [Add ErrorResources to collect error messages as resources](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/issues/157)\n\n### Ver 1.2.12\n* [Add ```PostgreSQL Servers```  cloud service](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/pull/154)\n\n### Ver 1.2.10\n* [Add CosmosDB Syntax bug](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/pull/152/commits)\n* [Add ```CosmosDB``` cloud service](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/commit/c50693a222555611cb1fb27b2ce222543e1cf174)\n* [Update CI workflow](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/pull/142)\n\n### Ver 1.2.8\n* [Add ```MySQL Servers``` cloud service](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/pull/136)\n\n\n### Ver 1.2.7\n* [Add ```Key Vaults``` cloud service](https://github.com/spaceone-dev/plugin-azure-cloud-service-inven-collector/pull/123)\n\n### Ver 1.2.6\n* Add ```Storage Accounts``` cloud service\n\n### Ver 1.2.5\n* Add ```NAT Gateways``` cloud service\n\n### Ver 1.2.4\n* Add ```Network Security Groups``` cloud service\n\n### Ver 1.2.3\n* Add ```Virtual Networks```, ```Application Gateways```, ```Public IP Address``` cloud service\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudforet-io%2Fplugin-azure-inven-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudforet-io%2Fplugin-azure-inven-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudforet-io%2Fplugin-azure-inven-collector/lists"}