[Discovery] Retrieve newer accounts/sub-accounts automatically via Cloud DiscoverySummaryCloud Discovery can automatically refresh the list of sub-accounts and datacenters covered in a discovery schedule, subject to the fulfilment of the following criteria: The cloud provider is Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP)The glide.discovery.cdu.auto_refresh_sub_accounts_and_ldcs property to true.The Cloud Discovery schedule is created for a management account.The Cloud Discovery schedule is configured to discover the resources of all the sub-accounts and all the datacenters of the management account. ReleaseParis+ release.InstructionsIn Paris, we released the feature called - "Auto-Refresh of Sub-Accounts and Datacenters" This feature is controlled by: A system property – "glide.discovery.cdu.auto_refresh_sub_accounts_and_ldcs" This feature is applicable for: All Cloud Discovery schedules i.e., Discovery type is "Cloud Resources" How does this feature work: Every Discovery run kicked off automatically i.e., as per schedule goes through the script include – "Discovery"The API – "_syncAndUpdateLDCsAndSubAccountsForSchedule" in it is responsible for fetching all the dataAPI triggers the patterns configured in the "Cloud topology discovery pattern" (sa_cloud_topology_discovery_pattern) tableFetching sub Accounts and datacenters is dependent on the Cloud Schedule configuration When System Property is set to "FALSE"? Deletes the invalid configuration of the Discovery Schedule in the table "cmp_discovery_ldc_config" tableNo refresh of accounts and datacenter is triggered. When System Property is set to "TRUE"? Refreshes the LDCs for existing member accounts (related projects (GCP) as well) so that missing or deleted LDCs are restored back in the system.If the user has selected "all accounts for management" (Toggled the slider to select all members in the Discovery Schedule- CDU UI/Cloud Wizard UI) then it means if any new sub-account is discovered then we create an LDC config for it also. Thereby syncing the new accounts automatically for the current discovery schedule.Deletes the invalid configuration of the Discovery Schedule in the table "cmp_discovery_ldc_config" table Type of Cloud Schedules supported: AWS Management and Member account(s)Azure Management Group and Subscription(s)GCP Folder and Project(s)GCP Organization and Related Project(s)Related LinksUseful docs: Retrieve newer accounts/sub-accounts automatically via Cloud DiscoveryEnable auto-refreshing of sub-accounts and datacenters