1. Packages
  2. Azure Native
  3. API Docs
  4. operationalinsights
  5. getLinkedStorageAccount
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.operationalinsights.getLinkedStorageAccount

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Gets all linked storage account of a specific data source type associated with the specified workspace.

Uses Azure REST API version 2023-09-01.

Other available API versions: 2019-08-01-preview, 2020-03-01-preview, 2020-08-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native operationalinsights [ApiVersion]. See the version guide for details.

Using getLinkedStorageAccount

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 getLinkedStorageAccount(args: GetLinkedStorageAccountArgs, opts?: InvokeOptions): Promise<GetLinkedStorageAccountResult>
function getLinkedStorageAccountOutput(args: GetLinkedStorageAccountOutputArgs, opts?: InvokeOptions): Output<GetLinkedStorageAccountResult>
Copy
def get_linked_storage_account(data_source_type: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               workspace_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetLinkedStorageAccountResult
def get_linked_storage_account_output(data_source_type: 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[GetLinkedStorageAccountResult]
Copy
func LookupLinkedStorageAccount(ctx *Context, args *LookupLinkedStorageAccountArgs, opts ...InvokeOption) (*LookupLinkedStorageAccountResult, error)
func LookupLinkedStorageAccountOutput(ctx *Context, args *LookupLinkedStorageAccountOutputArgs, opts ...InvokeOption) LookupLinkedStorageAccountResultOutput
Copy

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

public static class GetLinkedStorageAccount 
{
    public static Task<GetLinkedStorageAccountResult> InvokeAsync(GetLinkedStorageAccountArgs args, InvokeOptions? opts = null)
    public static Output<GetLinkedStorageAccountResult> Invoke(GetLinkedStorageAccountInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLinkedStorageAccountResult> getLinkedStorageAccount(GetLinkedStorageAccountArgs args, InvokeOptions options)
public static Output<GetLinkedStorageAccountResult> getLinkedStorageAccount(GetLinkedStorageAccountArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:operationalinsights:getLinkedStorageAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DataSourceType
This property is required.
Changes to this property will trigger replacement.
string
Linked storage accounts type.
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.
DataSourceType
This property is required.
Changes to this property will trigger replacement.
string
Linked storage accounts type.
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.
dataSourceType
This property is required.
Changes to this property will trigger replacement.
String
Linked storage accounts type.
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.
dataSourceType
This property is required.
Changes to this property will trigger replacement.
string
Linked storage accounts type.
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.
data_source_type
This property is required.
Changes to this property will trigger replacement.
str
Linked storage accounts type.
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.
dataSourceType
This property is required.
Changes to this property will trigger replacement.
String
Linked storage accounts type.
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.

getLinkedStorageAccount Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
DataSourceType string
Linked storage accounts type.
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"
StorageAccountIds List<string>
Linked storage accounts resources ids.
AzureApiVersion string
The Azure API version of the resource.
DataSourceType string
Linked storage accounts type.
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"
StorageAccountIds []string
Linked storage accounts resources ids.
azureApiVersion String
The Azure API version of the resource.
dataSourceType String
Linked storage accounts type.
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"
storageAccountIds List<String>
Linked storage accounts resources ids.
azureApiVersion string
The Azure API version of the resource.
dataSourceType string
Linked storage accounts type.
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"
storageAccountIds string[]
Linked storage accounts resources ids.
azure_api_version str
The Azure API version of the resource.
data_source_type str
Linked storage accounts type.
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"
storage_account_ids Sequence[str]
Linked storage accounts resources ids.
azureApiVersion String
The Azure API version of the resource.
dataSourceType String
Linked storage accounts type.
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"
storageAccountIds List<String>
Linked storage accounts resources ids.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi