1. Packages
  2. Azure Native v1
  3. API Docs
  4. operationalinsights
  5. getLinkedService
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.operationalinsights.getLinkedService

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

Gets a linked service instance. API Version: 2020-08-01.

Using getLinkedService

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLinkedService(args: GetLinkedServiceArgs, opts?: InvokeOptions): Promise<GetLinkedServiceResult>
function getLinkedServiceOutput(args: GetLinkedServiceOutputArgs, opts?: InvokeOptions): Output<GetLinkedServiceResult>
Copy
def get_linked_service(linked_service_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       workspace_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetLinkedServiceResult
def get_linked_service_output(linked_service_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       workspace_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetLinkedServiceResult]
Copy
func LookupLinkedService(ctx *Context, args *LookupLinkedServiceArgs, opts ...InvokeOption) (*LookupLinkedServiceResult, error)
func LookupLinkedServiceOutput(ctx *Context, args *LookupLinkedServiceOutputArgs, opts ...InvokeOption) LookupLinkedServiceResultOutput
Copy

> Note: This function is named LookupLinkedService in the Go SDK.

public static class GetLinkedService 
{
    public static Task<GetLinkedServiceResult> InvokeAsync(GetLinkedServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetLinkedServiceResult> Invoke(GetLinkedServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLinkedServiceResult> getLinkedService(GetLinkedServiceArgs args, InvokeOptions options)
public static Output<GetLinkedServiceResult> getLinkedService(GetLinkedServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:operationalinsights:getLinkedService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LinkedServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the linked service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
LinkedServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the linked service.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
linkedServiceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the linked service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
linkedServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the linked service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
linked_service_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the linked service.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workspace.
linkedServiceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the linked service.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.

getLinkedService Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
ProvisioningState string
The provisioning state of the linked service.
ResourceId string
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access
Tags Dictionary<string, string>
Resource tags.
WriteAccessResourceId string
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
ProvisioningState string
The provisioning state of the linked service.
ResourceId string
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access
Tags map[string]string
Resource tags.
WriteAccessResourceId string
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
provisioningState String
The provisioning state of the linked service.
resourceId String
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access
tags Map<String,String>
Resource tags.
writeAccessResourceId String
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
provisioningState string
The provisioning state of the linked service.
resourceId string
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access
tags {[key: string]: string}
Resource tags.
writeAccessResourceId string
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
provisioning_state str
The provisioning state of the linked service.
resource_id str
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access
tags Mapping[str, str]
Resource tags.
write_access_resource_id str
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
provisioningState String
The provisioning state of the linked service.
resourceId String
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access
tags Map<String>
Resource tags.
writeAccessResourceId String
The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi