Default language.

Discovery cloud provider requests


discovery.cloudProvider.request(target, parameters)

A set of discovery functions which query the cloud provider API, for information about the target discovered using the specified DiscoveryAccess and optional parameters. They each return a list depending on the request made.

 

The target must be a DiscoveryAccess node.

The following code example is taken from the AmazonWebServices.ELBv2 pattern module:

// Get target health for this group. We rely on Reasoning to optimize these
// calls if we request the same TargetGroup multiple times
target_health_results := discovery.AWS.ELBv2.DescribeTargetHealth
(da, TargetGroupArn := group.TargetGroupArn);

Discovery functions are provided to query the cloud provider API. The supported requests, their parameters, and returned data are described on the Administration > Cloud & API Providers page, Cloud tab.

Each request has a popup dialog which explains its usage, provides a code example, and links to the cloud vendor's API documentation for that request. For example:

AzureManagedDisksListAll.png

The following requests are supported and available to patterns supported in the BMC Discovery 11.2 release. Additional requests may be provided as part of a monthly TKU update.

Amazon Web Services

Identifier

Service

Endpoints

Supported Requests

autoscaling

Auto Scaling

cloudformation

AWS CloudFormation

ec2

Amazon Elastic Compute Cloud

Click here to show valid endpoints for this service...

elb

Amazon Elastic Load Balancing

rds

Amazon Relational Database Service

 

Click here to show valid endpoints for this service...

s3

Amazon Simple Storage Service (S3)

Microsoft Azure

Identifier

Service

Supported Requests

Microsoft.Compute

Azure Virtual Machines

Microsoft.Network

Azure Networking

Microsoft.Resources

Azure Resource Manager

Microsoft.Sql

Azure SQL Database




Microsoft.Storage

Azure Storage

Microsoft.Web

Azure App Services

microsoft.insights

Azure Monitor





 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*