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