< Back
Get-ProvAzureServiceMapWorkspace
Post
NAME Get-ProvAzureServiceMapWorkspace
SYNOPSIS
Read details of a Azure Service Map (Loganalytics) Workspace.
SYNTAX
Get-ProvAzureServiceMapWorkspace [-SubscriptionId] <Guid> [-ResourceGroup] <string> [-OMSWorkspace] <string>
-AuthContext <object> [-ApiVersion <string>] [<CommonParameters>]
DESCRIPTION
This cmdlet connects to the Azure REST API and reads details Of an Azure Service Map Workspace.
PARAMETERS
-AuthContext <object>
A valid authentication token, as provided by "Get-ProvAzureAuthContext"
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubscriptionId <Guid>
The GUID of the subscription the workspace is installed.
Required? true
Position? 0
Default value 00000000-0000-0000-0000-000000000000
Accept pipeline input? false
Accept wildcard characters? false
-ResourceGroup <string>
The name of the Resource Group the workspace is installed.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OMSWorkspace <string>
The name of the Workspace
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <string>
The REST API Version used to read the data from Azure. Default is "2016-01-01", but may be changed due to
updates in the REST API on Azure
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Provance.Azure.Common.Model.ServiceMapWorkspace
---------- EXAMPLE 1 ----------
Retrieving Details of Azure Service Map Workspace
$smWrkSpc must be defined first with Set-ProvAzureServiceMapWorkspace
$smwrks = Get-ProvAzureServiceMapWorkspace -AuthContext $aCntx -OMSContext $smWrkSpc
The $token object shall be generated with Get-ProvAzureAuthContext first
---------- EXAMPLE 2 ----------
Retrieving details of all Azure Resource Groups in the subscription
$myresourcegroup = Get-ProvAzureResourceGroup -AuthContext $token -SubscriptionId
'f56127c0-7c3e-4994-8733-e14eaf7864c8'
The $token object shall be generated with Get-ProvAzureAuthContext first
RELATED LINKS
Provance Technologies Inc. (http://provance.com)
Help (http://help.provance.com)
SYNOPSIS
Read details of a Azure Service Map (Loganalytics) Workspace.
SYNTAX
Get-ProvAzureServiceMapWorkspace [-SubscriptionId] <Guid> [-ResourceGroup] <string> [-OMSWorkspace] <string>
-AuthContext <object> [-ApiVersion <string>] [<CommonParameters>]
DESCRIPTION
This cmdlet connects to the Azure REST API and reads details Of an Azure Service Map Workspace.
PARAMETERS
-AuthContext <object>
A valid authentication token, as provided by "Get-ProvAzureAuthContext"
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubscriptionId <Guid>
The GUID of the subscription the workspace is installed.
Required? true
Position? 0
Default value 00000000-0000-0000-0000-000000000000
Accept pipeline input? false
Accept wildcard characters? false
-ResourceGroup <string>
The name of the Resource Group the workspace is installed.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OMSWorkspace <string>
The name of the Workspace
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <string>
The REST API Version used to read the data from Azure. Default is "2016-01-01", but may be changed due to
updates in the REST API on Azure
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Provance.Azure.Common.Model.ServiceMapWorkspace
---------- EXAMPLE 1 ----------
Retrieving Details of Azure Service Map Workspace
$smWrkSpc must be defined first with Set-ProvAzureServiceMapWorkspace
$smwrks = Get-ProvAzureServiceMapWorkspace -AuthContext $aCntx -OMSContext $smWrkSpc
The $token object shall be generated with Get-ProvAzureAuthContext first
---------- EXAMPLE 2 ----------
Retrieving details of all Azure Resource Groups in the subscription
$myresourcegroup = Get-ProvAzureResourceGroup -AuthContext $token -SubscriptionId
'f56127c0-7c3e-4994-8733-e14eaf7864c8'
The $token object shall be generated with Get-ProvAzureAuthContext first
RELATED LINKS
Provance Technologies Inc. (http://provance.com)
Help (http://help.provance.com)