Add-​Azure​Rm​Log​Profile

Creates a log profile.

Syntax

Add-AzureRmLogProfile
   -Name <String>
   -StorageAccountId <String>
   [-ServiceBusRuleId <String>]
   [-RetentionInDays <Int32>]
   -Locations <System.Collections.Generic.List`1[System.String]>
   [-Categories <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]

Description

The Add-AzureRmLogProfile cmdlet creates a log profile.

Examples

1:

Required Parameters

-Locations

Specifies the list of locations.

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the profile.

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

Specifies the ID of the Storage account.

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

Optional Parameters

-Categories

Specifies the list of categories.

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-RetentionInDays

Specifies the retention policy, in days.

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

Specifies the ID of the Service Bus rule.

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