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-AzureResourceProviderLog

Get-AzureResourceProviderLog

microsoft.azure.commands.insights.dll

Synopsis

Gets the operations associated with a Resource Provider

Syntax

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

Detailed Description

Gets the operations associated with a Resource Provider.

Parameters

-ResourceProvider <String>

Specifies a filter by ResourceProvider. This parameter is mandatory.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-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

EndTime minus one hour

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: GetAzureResourceProviderLog --------------------------

This command lists all the operations associated to the given Resource Provider that took place in the last hour.

PS C:\>Get-AzureResourceProviderLog -ResourceProvider Microsoft.Web

-------------------------- Example 2: GetAzureResourceProviderLog with starttime only --------------------------

This command lists all the operations associated to the given Resource Provider that took place on or after 2015-01-01T10:30 local time.

PS C:\>Get-AzureResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30

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

This command lists all the operations associated to the given Resource Provider that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time.

PS C:\>Get-AzureResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30

Online Version
Get-AzureSubscriptionIdLog
Get-AzureCorrelationIdLog
Get-AzureResourceGroupLog
Get-AzureResourceLog