Get-AzMonitorLogAnalyticsSolution
Retrieves the user solution.
Syntax
Get-AzMonitorLogAnalyticsSolution
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMonitorLogAnalyticsSolution
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMonitorLogAnalyticsSolution
-InputObject <IMonitoringSolutionsIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMonitorLogAnalyticsSolution
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Retrieves the user solution.
Examples
Example 1: Get a monitor log analytics solution by name
PS C:\> Get-AzMonitorLogAnalyticsSolution -ResourceGroupName azureps-monitor -Name 'Containers(azureps-monitor)'
Name Type Location
---- ---- --------
Containers(azureps-monitor) Microsoft.OperationsManagement/solutions West US 2
This command gets a monitor log analytics solution by name.
Example 2: Get a monitor log analytics solution by resource id
PS C:\> @{Id = "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourcegroups/azureps-manual-test/providers/Microsoft.OperationsManagement/solutions/Containers(monitoringworkspace-t01)"} | Get-AzMonitorLogAnalyticsSolution
Name Type Location
---- ---- --------
Containers(monitoringworkspace-t01) Microsoft.OperationsManagement/solutions East US
This command gets a monitor log analytics solution by resource id.
Example 3: Get a monitor log analytics solution by object
PS C:\> $monitor = New-AzMonitorLogAnalyticsSolution -ResourceGroupName azureps-monitor -Name 'Containers(azureps-monitor)'
PS C:\> Get-AzMonitorLogAnalyticsSolution -InputObject $monitor
Name Type Location
---- ---- --------
Containers(azureps-monitor) Microsoft.OperationsManagement/solutions West US 2
This command gets a monitor log analytics solution by object.
Example 4: Get all monitor log analytics solutions under a resource group
PS C:\> Get-AzMonitorLogAnalyticsSolution -ResourceGroupName azureps-monitor
Name Type Location
---- ---- --------
Containers(azureps-monitor) Microsoft.OperationsManagement/solutions West US 2
This command gets all monitor log analytics solutions under a resource group.
Example 5: Get all monitor log analytics solutions under a subscription
PS C:\> Get-AzMonitorLogAnalyticsSolution
Name Type Location
---- ---- --------
Containers(monitoringworkspace-t01) Microsoft.OperationsManagement/solutions East US
Containers(azureps-monitor) Microsoft.OperationsManagement/solutions West US 2
This command gets all monitor log analytics solutions under a subscription.
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.IMonitoringSolutionsIdentity |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
User Solution Name.
Type: | String |
Aliases: | SolutionName |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The name of the resource group to get. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.IMonitoringSolutionsIdentity
Outputs
Microsoft.Azure.PowerShell.Cmdlets.MonitoringSolutions.Models.Api20151101Preview.ISolution
Notes
ALIASES
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT
[Id <String>]
: Resource identity path[ManagementAssociationName <String>]
: User ManagementAssociation Name.[ManagementConfigurationName <String>]
: User Management Configuration Name.[ProviderName <String>]
: Provider name for the parent resource.[ResourceGroupName <String>]
: The name of the resource group to get. The name is case insensitive.[ResourceName <String>]
: Parent resource name.[ResourceType <String>]
: Resource type for the parent resource[SolutionName <String>]
: User Solution Name.[SubscriptionId <String>]
: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.