1. Packages
  2. Azure Native
  3. API Docs
  4. operationalinsights
  5. getLinkedService
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.operationalinsights.getLinkedService

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Gets a linked service instance. Azure REST API version: 2020-08-01.

    Other available API versions: 2015-11-01-preview.

    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>
    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]
    func LookupLinkedService(ctx *Context, args *LookupLinkedServiceArgs, opts ...InvokeOption) (*LookupLinkedServiceResult, error)
    func LookupLinkedServiceOutput(ctx *Context, args *LookupLinkedServiceOutputArgs, opts ...InvokeOption) LookupLinkedServiceResultOutput

    > 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)
    }
    public static CompletableFuture<GetLinkedServiceResult> getLinkedService(GetLinkedServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:operationalinsights:getLinkedService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LinkedServiceName string
    Name of the linked service.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    LinkedServiceName string
    Name of the linked service.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    linkedServiceName String
    Name of the linked service.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    The name of the workspace.
    linkedServiceName string
    Name of the linked service.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    The name of the workspace.
    linked_service_name str
    Name of the linked service.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    The name of the workspace.
    linkedServiceName String
    Name of the linked service.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi