Skip to content

Latest commit

 

History

History
97 lines (72 loc) · 2.69 KB

New-AzStorageTableDestinationObject.md

File metadata and controls

97 lines (72 loc) · 2.69 KB
external help file Module Name online version schema
Az.DataCollectionRule.psm1-help.xml
Az.Monitor
2.0.0

New-AzStorageTableDestinationObject

SYNOPSIS

Create an in-memory object for StorageTableDestination.

SYNTAX

New-AzStorageTableDestinationObject [-Name <String>] [-StorageAccountResourceId <String>] [-TableName <String>]
 [<CommonParameters>]

DESCRIPTION

Create an in-memory object for StorageTableDestination.

EXAMPLES

Example 1: Create storage table destination object

New-AzStorageTableDestinationObject -TableName table1 -StorageAccountResourceId /subscriptions/ee63c5dc-9b88-42e3-8070-944a5226aea3/resourceGroups/rightregion/providers/Microsoft.Storage/storageAccounts/bar1 -Name storageAccountDestination2
Name                       StorageAccountResourceId                                                                                                        TableName
----                       ------------------------                                                                                                        ---------
storageAccountDestination2 /subscriptions/ee63c5dc-9b88-42e3-8070-944a5226aea3/resourceGroups/rightregion/providers/Microsoft.Storage/storageAccounts/bar1 table1

This command creates a storage table destination object.

PARAMETERS

-Name

A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StorageAccountResourceId

The resource ID of the storage account.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TableName

The name of the Storage Table.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.StorageTableDestination

NOTES

RELATED LINKS