loganalytics

class pulumi_azure.loganalytics.LinkedService(resource_name, opts=None, linked_service_name=None, linked_service_properties=None, resource_group_name=None, resource_id=None, tags=None, workspace_name=None, __name__=None, __opts__=None)

Links a Log Analytics (formally Operational Insights) Workspace to another resource. The (currently) only linkable service is an Azure Automation Account.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • linked_service_name (pulumi.Input[str]) – Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in workspace_name. Currently it defaults to and only supports automation as a value. Changing this forces a new resource to be created.
  • linked_service_properties (pulumi.Input[list]) – A linked_service_properties block as defined below.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.
  • resource_id (pulumi.Input[str]) – The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level resource_id field and will be removed in v2.0 of the AzureRM Provider.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • workspace_name (pulumi.Input[str]) – Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created.
linked_service_name = None

Name of the type of linkedServices resource to connect to the Log Analytics Workspace specified in workspace_name. Currently it defaults to and only supports automation as a value. Changing this forces a new resource to be created.

linked_service_properties = None

A linked_service_properties block as defined below.

name = None

The automatically generated name of the Linked Service. This cannot be specified. The format is always <workspace_name>/<linked_service_name> e.g. workspace1/Automation

resource_group_name = None

The name of the resource group in which the Log Analytics Linked Service is created. Changing this forces a new resource to be created.

resource_id = None

The resource id of the resource that will be linked to the workspace. This field has been deprecated in favour of the top-level resource_id field and will be removed in v2.0 of the AzureRM Provider.

tags = None

A mapping of tags to assign to the resource.

workspace_name = None

Name of the Log Analytics Workspace that will contain the linkedServices resource. 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