New-AzStorageTableDestinationObject

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:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StorageAccountResourceId

The resource ID of the storage account.

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

-TableName

The name of the Storage Table.

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

Outputs

StorageTableDestination