appinsights

class pulumi_azure.appinsights.ApiKey(resource_name, opts=None, application_insights_id=None, name=None, read_permissions=None, write_permissions=None, __name__=None, __opts__=None)

Manages an Application Insights API key.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • application_insights_id (pulumi.Input[str]) – The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Application Insights API key. Changing this forces a new resource to be created.
  • read_permissions (pulumi.Input[list]) – Specifies the list of read permissions granted to the API key. Valid values are agentconfig, aggregate, api, draft, extendqueries, search. Please note these values are case sensitive. Changing this forces a new resource to be created.
  • write_permissions (pulumi.Input[list]) – Specifies the list of write permissions granted to the API key. Valid values are annotations. Please note these values are case sensitive. Changing this forces a new resource to be created.
api_key = None

The API Key secret (Sensitive).

application_insights_id = None

The ID of the Application Insights component on which the API key operates. Changing this forces a new resource to be created.

name = None

Specifies the name of the Application Insights API key. Changing this forces a new resource to be created.

read_permissions = None

Specifies the list of read permissions granted to the API key. Valid values are agentconfig, aggregate, api, draft, extendqueries, search. Please note these values are case sensitive. Changing this forces a new resource to be created.

write_permissions = None

Specifies the list of write permissions granted to the API key. Valid values are annotations. Please note these values are case sensitive. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.appinsights.GetInsightsResult(app_id=None, application_type=None, instrumentation_key=None, location=None, tags=None, id=None)

A collection of values returned by getInsights.

app_id = None

The App ID associated with this Application Insights component.

application_type = None

The type of the component.

instrumentation_key = None

The instrumentation key of the Application Insights component.

location = None

The Azure location where the component exists.

tags = None

Tags applied to the component.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.appinsights.Insights(resource_name, opts=None, application_type=None, location=None, name=None, resource_group_name=None, tags=None, __name__=None, __opts__=None)

Manage an Application Insights component.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • application_type (pulumi.Input[str]) – Specifies the type of Application Insights to create. Valid values are Java, iOS, MobileCenter, Other, Phone, Store, Web and Node.JS.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Application Insights component. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which to create the Application Insights component.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
app_id = None

The App ID associated with this Application Insights component.

application_type = None

Specifies the type of Application Insights to create. Valid values are Java, iOS, MobileCenter, Other, Phone, Store, Web and Node.JS.

instrumentation_key = None

The Instrumentation Key for this Application Insights component.

location = None

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name = None

Specifies the name of the Application Insights component. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which to create the Application Insights component.

tags = None

A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_azure.appinsights.get_insights(name=None, resource_group_name=None)

Use this data source to access information about an existing Application Insights component.