Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_component

create_component(**kwargs)

Creates a custom component by grouping similar standalone instances to monitor.

See also: AWS API Documentation

Request Syntax

response = client.create_component(
    ResourceGroupName='string',
    ComponentName='string',
    ResourceList=[
        'string',
    ]
)
Parameters
  • ResourceGroupName (string) --

    [REQUIRED]

    The name of the resource group.

  • ComponentName (string) --

    [REQUIRED]

    The name of the component.

  • ResourceList (list) --

    [REQUIRED]

    The list of resource ARNs that belong to the component.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • ApplicationInsights.Client.exceptions.ResourceInUseException
  • ApplicationInsights.Client.exceptions.ResourceNotFoundException
  • ApplicationInsights.Client.exceptions.ValidationException
  • ApplicationInsights.Client.exceptions.InternalServerException