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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell