azure-native.operationalinsights.getLinkedService
Explore with Pulumi AI
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:
- Linked
Service stringName Name of the linked service.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Workspace
Name string The name of the workspace.
- Linked
Service stringName Name of the linked service.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Workspace
Name string The name of the workspace.
- linked
Service StringName Name of the linked service.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- workspace
Name String The name of the workspace.
- linked
Service stringName Name of the linked service.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- workspace
Name string The name of the workspace.
- linked_
service_ strname Name of the linked service.
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- workspace_
name str The name of the workspace.
- linked
Service StringName Name of the linked service.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- workspace
Name 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"
- Provisioning
State string The provisioning state of the linked service.
- Resource
Id 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
- Dictionary<string, string>
Resource tags.
- Write
Access stringResource Id 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"
- Provisioning
State string The provisioning state of the linked service.
- Resource
Id 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
- map[string]string
Resource tags.
- Write
Access stringResource Id 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"
- provisioning
State String The provisioning state of the linked service.
- resource
Id 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
- Map<String,String>
Resource tags.
- write
Access StringResource Id 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"
- provisioning
State string The provisioning state of the linked service.
- resource
Id 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
- {[key: string]: string}
Resource tags.
- write
Access stringResource Id 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
- Mapping[str, str]
Resource tags.
- write_
access_ strresource_ id 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"
- provisioning
State String The provisioning state of the linked service.
- resource
Id 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
- Map<String>
Resource tags.
- write
Access StringResource Id 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