New-AzStorageBlobDestinationObject
Create an in-memory object for StorageBlobDestination.
Syntax
New-AzStorageBlobDestinationObject
[-ContainerName <String>]
[-Name <String>]
[-StorageAccountResourceId <String>]
[<CommonParameters>]
Description
Create an in-memory object for StorageBlobDestination.
Examples
Example 1: Create storage blob destination object
New-AzStorageBlobDestinationObject -ContainerName "my-logs" -StorageAccountResourceId /subscriptions/da58aca0-2082-4f5a-85ba-27344286c17c/resourceGroups/sa-rg/providers/Microsoft.Storage/storageAccounts/rightregion:westus:sa-name1 -Name storageAccountDestination1
ContainerName Name StorageAccountResourceId
------------- ---- ------------------------
my-logs storageAccountDestination1 /subscriptions/da58aca0-2082-4f5a-85ba-27344286c17c/resourceGroups/sa-rg/providers/Microsoft.Storage/storageAccounts/rightregion:westus:sa-name1
This command creates a storage blob destination object.
Parameters
-ContainerName
The container name of the Storage Blob.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell