Skip to content

Commit e42eb81

Browse files
authored
polish example for new-azapplicationinsightscontinuousexport,set0azapplicationinsightscontinuousexport (#19032)
1 parent 4a1f1e4 commit e42eb81

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/ApplicationInsights/examples/New-AzApplicationInsightsContinuousExport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context
44
$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken
55
New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" `
66
-DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus `
7-
-StorageSASUri $sasuri
7+
-StorageSASUri $sasuri -DestinationType Blob
88
```
99

1010
Create a new application insights continuous export configuration to export "Request" and "Trace" document types to storage contain "testcontainer" in storage account "teststorageaccount" in resource group "testgroup". The SAS token have to be valid and have write permission to the container, otherwise continuous export feature won't work.If SAS token expired, the continuous export feature will stop working.

src/ApplicationInsights/examples/Set-AzApplicationInsightsContinuousExport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context
44
$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken
55
Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test"
66
-DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus
7-
-StorageSASUri $sasuri
7+
-StorageSASUri $sasuri -DestinationType Blob
88
```
99

1010
Update continuous export configuration "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" of resource "test" in resource group "testgroup" to export "Request" and "Trace" documents to storage container "testcontainer" in "teststorageaccount".The SAS token have to be valid and have write permission to the container, otherwise continuous export feature won't work. If SAS token expired, the continuous export feature will stop working.

src/ApplicationInsights/help/New-AzApplicationInsightsContinuousExport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context
3131
$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken
3232
New-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" `
3333
-DocumentType "Request","Trace", "Custom Event" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus `
34-
-StorageSASUri $sasuri
34+
-StorageSASUri $sasuri -DestinationType Blob
3535
```
3636

3737
Create a new application insights continuous export configuration to export "Request" and "Trace" document types to storage contain "testcontainer" in storage account "teststorageaccount" in resource group "testgroup".

src/ApplicationInsights/help/Set-AzApplicationInsightsContinuousExport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $sastoken = New-AzStorageContainerSASToken -Name testcontainer -Context $context
3131
$sasuri = "https://teststorageaccount.blob.core.windows.net/testcontainer" + $sastoken
3232
Set-AzApplicationInsightsContinuousExport -ResourceGroupName "testgroup" -Name "test" `
3333
-DocumentType "Request","Trace" -ExportId "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" -StorageAccountId "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba96/resourceGroups/testgroup/providers/Microsoft.Storage/storageAccounts/teststorageaccount" -StorageLocation sourcecentralus `
34-
-StorageSASUri $sasuri
34+
-StorageSASUri $sasuri -DestinationType Blob
3535
```
3636

3737
Update continuous export configuration "jlTFEiBg1rkDXOCIeJQ2mB2TxZg=" of resource "test" in resource group "testgroup" to export "Request" and "Trace" documents to storage container "testcontainer" in "teststorageaccount".The SAS token have to be valid and have write permission to the container, otherwise continuous export feature won't work.

0 commit comments

Comments
 (0)