Get-​Azure​RM​Usage​Connection

Gets information about a usage connection.

Syntax

Get-AzureRMUsageConnection
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-Name <String>]
   [-PipelineVariable <String>]
   -ResourceGroup <String>
   [<CommonParameters>]

Description

The Get-AzureRMUsageConnection cmdlet gets information about a usage connection.

Examples

Example 1: Get information about the specified usage connection

Get-AzureRMUsageConnection -Name "sqlrpusageconnection" -ResourceGroup "UsageConnectionRG"

This example gets information for the "sqlrpusageconnection" usage connection in the "UsageConnectionRG" resource group.

Required Parameters

-ResourceGroup

Specifies the name of the resource group where the usage connection was created.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies a variable that is used for storing an informational message.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the usage connection.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PipelineVariable

Specifies a variable that stores the value of the current pipeline element.

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.AzureStack.Management.Models.UsageConnectionModel