Get-AzOperationalInsightsDataExport
Get or list data exports for workspace.
Syntax
Get-AzOperationalInsightsDataExport
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsDataExport
-ResourceGroupName <String>
-WorkspaceName <String>
[-DataExportName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsDataExport
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Gets a workspace's Data export by name or all existing workspace's data exports.
Examples
Example 1
Get-AzOperationalInsightsDataExport -ResourceGroupName "rg-name" -WorkspaceName "workspace-name" -DataExportName "dataExportName"
Name : {dataExportName}
Id : /subscriptions/{subscription}/resourcegroups/{rg-name}/providers/microsoft.operationalinsights/workspaces/{workspace-name}/dataexports/{dataExportName}
Type : Microsoft.OperationalInsights/workspaces/export
DataExportId : {GUID}
TableNames : {tbl1,tbl2}
ResourceId : /subscriptions/{resource_subscription}/resourceGroups/{resource_rg}/providers/Microsoft.Storage/storageAc
counts/{storage_name}
DataExportType : StorageAccount
EventHubName :
Enable : True
CreatedDate :
LastModifiedDate :
Gets a workspace's Data export.
Example 2
Get-AzOperationalInsightsDataExport -ResourceGroupName "rg-name" -WorkspaceName "workspace-name"
Gets all workspace's Data exports.
Parameters
-DataExportName
The data export name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WorkspaceName
The name of the workspace that will contain the storage insight.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |