Show / Hide Table of Contents

Class LinkedService

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

Inheritance
System.Object
Resource
CustomResource
LinkedService
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.LogAnalytics
Assembly: Pulumi.Azure.dll
Syntax
public class LinkedService : CustomResource

Constructors

View Source

LinkedService(String, LinkedServiceArgs, CustomResourceOptions)

Create a LinkedService resource with the given unique name, arguments, and options.

Declaration
public LinkedService(string name, LinkedServiceArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LinkedServiceArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

LinkedServiceName

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.

Declaration
public Output<string> LinkedServiceName { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

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

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

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

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceId

The ID of the Resource that will be linked to the workspace. Changing this forces a new resource to be created.

Declaration
public Output<string> ResourceId { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

WorkspaceName

Name of the Log Analytics Workspace that will contain the linkedServices resource. Changing this forces a new resource to be created.

Declaration
public Output<string> WorkspaceName { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, LinkedServiceState, CustomResourceOptions)

Get an existing LinkedService resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static LinkedService Get(string name, Input<string> id, LinkedServiceState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LinkedServiceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
LinkedService
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.