Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureSubscriptionIdLog

Get-AzureSubscriptionIdLog

microsoft.azure.commands.insights.dll

Synopsis

Gets the operations associated with the current subscriptionId

Syntax

Get-AzureSubscriptionIdLog [-StartTime] [-EndTime] [-Status] [-Caller] [-DetailedOutput] [-Profile] [<CommonParameters>]

Detailed Description

Gets the operations associated with the current subscriptionId.

Parameters

-StartTime <Nullable`1[DateTime]>

Specifies the start time of the query in local time. This parameter is optional. The default is EndTime minus one hour.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-EndTime <Nullable`1[DateTime]>

Specifies the end time of the query in local time. This parameter is optional. The default is the current time. The value must be earlier than StartTime, but not more than 15 days.

Aliases

None

Required?

false

Position

named

Default value

Current time

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Status <String>

Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter)

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Caller <String>

Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter)

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-DetailedOutput <SwitchParameter>

If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.)

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Profile <AzureProfile>

In-memory profile (AzureProfile).

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

None

Notes

Examples

-------------------------- Example 1: GetAzureSubscriptionIdLog --------------------------

This command lists all the operations associated to the user's subscriptionId (see Add-AzureAccount for details) that took place in the last hour.

PS C:\>Get-AzureSubscriptionIdLog

-------------------------- Example 2: GetAzureSubscriptionIdLog with starttime only --------------------------

This command lists all the operations associated to the user's subscriptionId (see Add-AzureAccount for details) that took place on or after 2015-01-01T10:30 local time.

PS C:\>Get-AzureSubscriptionIdLog -StartTime 2015-01-01T10:30

-------------------------- Example 3: GetAzureSubscriptionIdLog with start and end times --------------------------

This command lists all the operations associated to the user's subscriptionId (see Add-AzureAccount for details) that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.

PS C:\>Get-AzureSubscriptionIdLog -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30

Online Version
Get-AzureCorrelationIdLog
Get-AzureResourceGroupLog
Get-AzureResourceLog
Get-AzureResourceProviderLog