diff --git a/azps-15.6.0/Az.Marketplace/Set-AzMarketplacePrivateStoreOffer.md b/azps-15.6.0/Az.Marketplace/Set-AzMarketplacePrivateStoreOffer.md index 865af1e959..e0beb9b050 100644 --- a/azps-15.6.0/Az.Marketplace/Set-AzMarketplacePrivateStoreOffer.md +++ b/azps-15.6.0/Az.Marketplace/Set-AzMarketplacePrivateStoreOffer.md @@ -36,7 +36,7 @@ Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4 UniqueOfferId : publisherid.offerid OfferDisplayName : PublisherDisplayName : -ETag : "04009562-0000-0600-0000-5ecd2fb00000" +ETag : "bbbb1b1b-cc2c-dd3d-ee4e-ffffff5f5f5f" PrivateStoreId : 7gh67884-1r56-44fb-a93d-030d4ae08b2d CreatedBy : CreatedDate : 01/01/0001 00:00:00 @@ -51,19 +51,19 @@ Creates offer with private + public plans for private store that was created und ### Example 2 ```powershell -Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4ae08b2d -offerId publisherid.offerid -SubscriptionId bc17bb69-1264-4f90-a9f6-0e51e29d5281 -SpecificPlanIdsLimitation @("PublisherEnterpriseLinux72", "PublisherEnterpriseLinux72-ARM", "PublisherEnterpriseLinux73", "PublisherEnterpriseLinux73-ARM ", "PublisherEnterpriseLinux73-ARM-pr") +Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4ae08b2d -offerId publisherid.offerid -SubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e -SpecificPlanIdsLimitation @("PublisherEnterpriseLinux72", "PublisherEnterpriseLinux72-ARM", "PublisherEnterpriseLinux73", "PublisherEnterpriseLinux73-ARM ", "PublisherEnterpriseLinux73-ARM-pr") ``` ```output UniqueOfferId : publisherid.offerid OfferDisplayName : PublisherDisplayName : -ETag : "04009562-0000-0600-0000-5ecd2fb00000" +ETag : "bbbb1b1b-cc2c-dd3d-ee4e-ffffff5f5f5f" PrivateStoreId : 7gh67884-1r56-44fb-a93d-030d4ae08b2d CreatedBy : CreatedDate : 01/01/0001 00:00:00 SpecificPlanIdsLimitation : {PublisherEnterpriseLinux73-ARM-pr} -Id : /subscriptions/bc17bb69-1264-4f90-a9f6-0e51e29d5281/providers/Microsoft.Marketplace/privateStores/7gh67884-1r56-44fb-a93d-030d4ae08b2d/offers/ +Id : /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/providers/Microsoft.Marketplace/privateStores/7gh67884-1r56-44fb-a93d-030d4ae08b2d/offers/ publisherid.offerid Name : publisherid.offerid Type : Microsoft.Marketplace/privateStores/offers @@ -73,7 +73,7 @@ Creates offer with private plans only for private store that was created under s ### Example 3 ```powershell -Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4ae08b2d -offerId publisherid.offerid -SpecificPlanIdsLimitation @("PublisherEnterpriseLinux72", "PublisherEnterpriseLinux72-ARM", "PublisherEnterpriseLinux73") -ETag 04009562-0000-0600-0000-5ecd2fb00000 +Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4ae08b2d -offerId publisherid.offerid -SpecificPlanIdsLimitation @("PublisherEnterpriseLinux72", "PublisherEnterpriseLinux72-ARM", "PublisherEnterpriseLinux73") -ETag bbbb1b1b-cc2c-dd3d-ee4e-ffffff5f5f5f ``` ```output @@ -95,7 +95,7 @@ Updates offer with private + public plans for private store that was created und ### Example 4 ```powershell -Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4ae08b2d -offerId publisherid.offerid -SubscriptionId bc17bb69-1264-4f90-a9f6-0e51e29d5281 -SpecificPlanIdsLimitation @("PublisherEnterpriseLinux73-pr") -ETag 04009562-0000-0600-0000-5ecd2fb00000 +Set-AzMarketplacePrivateStoreOffer -privateStoreId 7gh67884-1r56-44fb-a93d-030d4ae08b2d -offerId publisherid.offerid -SubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e -SpecificPlanIdsLimitation @("PublisherEnterpriseLinux73-pr") -ETag bbbb1b1b-cc2c-dd3d-ee4e-ffffff5f5f5f ``` ```output @@ -107,7 +107,7 @@ PrivateStoreId : 7gh67884-1r56-44fb-a93d-030d4ae08b2d CreatedBy : CreatedDate : 01/01/0001 00:00:00 SpecificPlanIdsLimitation : {PublisherEnterpriseLinux73-pr} -Id : /subscriptions/bc17bb69-1264-4f90-a9f6-0e51e29d5281/providers/Microsoft.Marketplace/privateStores/7gh67884-1r56-44fb-a93d-030d4ae08b2d/offers/ +Id : /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/providers/Microsoft.Marketplace/privateStores/7gh67884-1r56-44fb-a93d-030d4ae08b2d/offers/ publisherid.offerid Name : publisherid.offerid Type : Microsoft.Marketplace/privateStores/offers @@ -252,4 +252,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/azps-15.6.0/Az.Migrate/Get-AzMigrateRunAsAccount.md b/azps-15.6.0/Az.Migrate/Get-AzMigrateRunAsAccount.md index 153d8728cc..b1087cb28a 100644 --- a/azps-15.6.0/Az.Migrate/Get-AzMigrateRunAsAccount.md +++ b/azps-15.6.0/Az.Migrate/Get-AzMigrateRunAsAccount.md @@ -40,20 +40,20 @@ Get-AzMigrateRunAsAccount -SubscriptionId xxx-xxx-xxx -ResourceGroupName BugBas ```output Name Type ---- ---- -b090bef3-b733-5e34-bc8f-eb6f2701432a Microsoft.OffAzure/VMwareSites/runasaccounts +aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e Microsoft.OffAzure/VMwareSites/runasaccounts ``` List all run as accounts in a site. ### Example 2: Get ```powershell -Get-AzMigrateRunAsAccount -SubscriptionId xxx-xxx-xxx -ResourceGroupName BugBashAVSVMware -SiteName BBVMwareAVScbbcsite -AccountName b090bef3-b733-5e34-bc8f-eb6f2701432a +Get-AzMigrateRunAsAccount -SubscriptionId xxx-xxx-xxx -ResourceGroupName BugBashAVSVMware -SiteName BBVMwareAVScbbcsite -AccountName aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e ``` ```output Name Type ---- ---- -b090bef3-b733-5e34-bc8f-eb6f2701432a Microsoft.OffAzure/VMwareSites/runasaccounts +aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e Microsoft.OffAzure/VMwareSites/runasaccounts ``` Get Run as account by name. diff --git a/azps-15.6.0/Az.Migrate/New-AzMigrateLocalServerReplication.md b/azps-15.6.0/Az.Migrate/New-AzMigrateLocalServerReplication.md index fff285ff7d..a2bb4f4585 100644 --- a/azps-15.6.0/Az.Migrate/New-AzMigrateLocalServerReplication.md +++ b/azps-15.6.0/Az.Migrate/New-AzMigrateLocalServerReplication.md @@ -53,10 +53,10 @@ EndTime : 1/1/1900 8:54:47 PM Error : {} Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/jobs/f2d3430a-2977-419f-abd5-11d171e17f5e Name : f2d3430a-2977-419f-abd5-11d171e17f5e -ObjectId : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/0ec082d5-6827-457a-bae2-f986e1b94555 +ObjectId : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectInternalId : a8b5ee68-102c-5aae-9499-c57a475a8fd4 ObjectInternalName : test_vm -ObjectName : 0ec082d5-6827-457a-bae2-f986e1b94555 +ObjectName : aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectType : ProtectedItem ReplicationProviderId : xxx-xxx-xxx SourceFabricProviderId : b35da11c-d69e-4220-9a90-d81ed93ad2fc @@ -78,13 +78,13 @@ This is for the scenario, when there is only one single disk that has to be prot ### Example 2: When there are multiple disks or NICs to migrate ```powershell [AzLocalDiskInput[]]$DisksToInclude = @() -$OSDisk = New-AzMigrateLocalDiskMappingObject -DiskID "Microsoft:C1A34301-3BFF-4EC6-97F1-6C4BD5ADCDE0\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\0\0\L" -IsOSDisk true -IsDynamic true -Size 42 -Format VHD -$DataDisk = New-AzMigrateLocalDiskMappingObject -DiskID "Microsoft:C1A34301-3BFF-4EC6-97F1-6C4BD5ADCDE0\C92FAB89-DA8B-47E9-92F3-364642ECDF39\0\0\L" -IsOSDisk false -IsDynamic true -Size 5 -Format VHD +$OSDisk = New-AzMigrateLocalDiskMappingObject -DiskID "Microsoft:bbbbbbbb-1111-2222-3333-cccccccccccc\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\0\0\L" -IsOSDisk true -IsDynamic true -Size 42 -Format VHD +$DataDisk = New-AzMigrateLocalDiskMappingObject -DiskID "Microsoft:bbbbbbbb-1111-2222-3333-cccccccccccc\C92FAB89-DA8B-47E9-92F3-364642ECDF39\0\0\L" -IsOSDisk false -IsDynamic true -Size 5 -Format VHD $DisksToInclude += $OSDisk $DisksToInclude += $DataDisk [AzLocalNicInput[]]$NicsToInclude = @() -$Nic = New-AzMigrateLocalNicMappingObject -NicID "Microsoft:C1A34301-3BFF-4EC6-97F1-6C4BD5ADCDE0\99CDFD2E-D60C-4218-AC2E-E7C2D8253EB9" -TargetVirtualSwitchId "/subscriptions/xxx-xxx-xxx/resourceGroups/hciclus-rg/providers/Microsoft.AzureStackHCI/logicalnetworks/external" +$Nic = New-AzMigrateLocalNicMappingObject -NicID "Microsoft:bbbbbbbb-1111-2222-3333-cccccccccccc\99CDFD2E-D60C-4218-AC2E-E7C2D8253EB9" -TargetVirtualSwitchId "/subscriptions/xxx-xxx-xxx/resourceGroups/hciclus-rg/providers/Microsoft.AzureStackHCI/logicalnetworks/external" $NicsToInclude += $Nic New-AzMigrateLocalServerReplication -MachineId "/subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.OffAzure/HyperVSites/testsrc7972site/machines/005-005-005" -TargetStoragePathId "/subscriptions/xxx-xxx-xxx/resourceGroups/hciclus-rg/providers/Microsoft.AzureStackHCI/storagecontainers/testStorageContainer1" -TargetResourceGroupId "/subscriptions//xxx-xxx-xxx/resourceGroups/target-rg"-TargetVMName "targetVM" -DiskToInclude $DisksToInclude -NicToInclude $NicsToInclude @@ -99,10 +99,10 @@ EndTime : 1/1/1900 2:27:14 PM Error : {} Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/jobs/f855305c-5bed-4bc6-996e-d273115ab833 Name : f855305c-5bed-4bc6-996e-d273115ab833 -ObjectId : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/c1a34301-3bff-4ec6-97f1-6c4bd5adcde0 +ObjectId : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/bbbbbbbb-1111-2222-3333-cccccccccccc ObjectInternalId : a40ecd8e-6413-574d-b1f8-2ef925e087fc ObjectInternalName : test_vm -ObjectName : c1a34301-3bff-4ec6-97f1-6c4bd5adcde0 +ObjectName : bbbbbbbb-1111-2222-3333-cccccccccccc ObjectType : ProtectedItem ReplicationProviderId : 4de0fddc-bdfe-40d9-b60e-678bdce89630 SourceFabricProviderId : b35da11c-d69e-4220-9a90-d81ed93ad2fc diff --git a/azps-15.6.0/Az.Migrate/Remove-AzMigrateLocalServerReplication.md b/azps-15.6.0/Az.Migrate/Remove-AzMigrateLocalServerReplication.md index 54d411d3e2..defb767e5c 100644 --- a/azps-15.6.0/Az.Migrate/Remove-AzMigrateLocalServerReplication.md +++ b/azps-15.6.0/Az.Migrate/Remove-AzMigrateLocalServerReplication.md @@ -47,10 +47,10 @@ EndTime : Error : {} Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/jobs/2b0b356e-d106-43af-ad26-02631fcaebba Name : 2b0b356e-d106-43af-ad26-02631fcaebba -ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/protectedItems/c1a34301-3bff-4ec6-97f1-6c4bd5adcde0 +ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/protectedItems/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectInternalId : a40ecd8e-6413-574d-b1f8-2ef925e087fc ObjectInternalName : testmachine -ObjectName : c1a34301-3bff-4ec6-97f1-6c4bd5adcde0 +ObjectName : aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectType : ProtectedItem ReplicationProviderId : 4de0fddc-bdfe-40d9-b60e-678bdce89630 SourceFabricProviderId : b35da11c-d69e-4220-9a90-d81ed93ad2fc @@ -87,10 +87,10 @@ EndTime : Error : {} Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/jobs/2b0b356e-d106-43af-ad26-02631fcaebba Name : 2b0b356e-d106-43af-ad26-02631fcaebba -ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/protectedItems/c1a34301-3bff-4ec6-97f1-6c4bd5adcde0 +ObjectId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/testproj1234replicationvault/protectedItems/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectInternalId : a40ecd8e-6413-574d-b1f8-2ef925e087fc ObjectInternalName : testmachine -ObjectName : c1a34301-3bff-4ec6-97f1-6c4bd5adcde0 +ObjectName : aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectType : ProtectedItem ReplicationProviderId : 4de0fddc-bdfe-40d9-b60e-678bdce89630 SourceFabricProviderId : b35da11c-d69e-4220-9a90-d81ed93ad2fc diff --git a/azps-15.6.0/Az.Migrate/Set-AzMigrateLocalServerReplication.md b/azps-15.6.0/Az.Migrate/Set-AzMigrateLocalServerReplication.md index e9c3df0161..b9e62ca9b9 100644 --- a/azps-15.6.0/Az.Migrate/Set-AzMigrateLocalServerReplication.md +++ b/azps-15.6.0/Az.Migrate/Set-AzMigrateLocalServerReplication.md @@ -46,10 +46,10 @@ EndTime : 1/1/1900 8:54:47 PM Error : {} Id : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/jobs/f2d3430a-2977-419f-abd5-11d171e17f5e Name : f2d3430a-2977-419f-abd5-11d171e17f5e -ObjectId : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/0ec082d5-6827-457a-bae2-f986e1b94555 +ObjectId : /subscriptions/xxx-xxx-xxx/resourceGroups/test-rg/providers/Microsoft.DataReplication/replicationVaults/proj62434replicationvault/protectedItems/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectInternalId : a8b5ee68-102c-5aae-9499-c57a475a8fd4 ObjectInternalName : test_vm -ObjectName : 0ec082d5-6827-457a-bae2-f986e1b94555 +ObjectName : aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb ObjectType : ProtectedItem ReplicationProviderId : xxx-xxx-xxx SourceFabricProviderId : b35da11c-d69e-4220-9a90-d81ed93ad2fc diff --git a/azps-15.6.0/Az.MongoDB/New-AzMongoDBOrganization.md b/azps-15.6.0/Az.MongoDB/New-AzMongoDBOrganization.md index 45c36c8c42..00da9b5229 100644 --- a/azps-15.6.0/Az.MongoDB/New-AzMongoDBOrganization.md +++ b/azps-15.6.0/Az.MongoDB/New-AzMongoDBOrganization.md @@ -48,11 +48,11 @@ create a OrganizationResource ### Example 1: Create a new Organization in a Resource Group ```powershell -New-AzMongoDBOrganization -Name "testorg7" -Location "East US 2" -ResourceGroupName "yashika-rg" -SubscriptionId "61641157-140c-4b97-b365-30ff76d9f82e" -MarketplaceSubscriptionId "61641157-140c-4b97-b365-30ff76d9f82e" -PartnerPropertyOrganizationName "testorg7" -PartnerPropertyOrganizationId "6805d3e6bb11bf624o2bbaef" -OfferDetailOfferId "mongodb_atlas_azure_native_prod" -OfferDetailPlanId "private_plan" -OfferDetailPlanName "Pay as You Go (Free) (Private)" -OfferDetailTermUnit "P1M" -OfferDetailPublisherId "mongodb" -OfferDetailTermId "gmz7xq9ge3py" -Tag @{"TestName" = "TestValue"} -UserEmailAddress "yashikajain@microsoft.com" -UserFirstName "" -UserLastName "" -UserUpn "yashikajain@microsoft.com" +New-AzMongoDBOrganization -Name "testorg7" -Location "East US 2" -ResourceGroupName "yashika-rg" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -MarketplaceSubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -PartnerPropertyOrganizationName "testorg7" -PartnerPropertyOrganizationId "6805d3e6bb11bf624o2bbaef" -OfferDetailOfferId "mongodb_atlas_azure_native_prod" -OfferDetailPlanId "private_plan" -OfferDetailPlanName "Pay as You Go (Free) (Private)" -OfferDetailTermUnit "P1M" -OfferDetailPublisherId "mongodb" -OfferDetailTermId "gmz7xq9ge3py" -Tag @{"TestName" = "TestValue"} -UserEmailAddress "yashikajain@microsoft.com" -UserFirstName "" -UserLastName "" -UserUpn "yashikajain@microsoft.com" ``` ```output -Id : /subscriptions/61641157-140c-4b97-b365-30ff76d9f82e/resourceGroups/yashika-rg/providers/MongoDB.Atlas/organizations/t +Id : /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/yashika-rg/providers/MongoDB.Atlas/organizations/t estorg7 IdentityPrincipalId : IdentityTenantId : @@ -564,4 +564,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/azps-15.6.0/Az.Monitor/Get-AzActivityLog.md b/azps-15.6.0/Az.Monitor/Get-AzActivityLog.md index f2bca33518..938dfd1375 100644 --- a/azps-15.6.0/Az.Monitor/Get-AzActivityLog.md +++ b/azps-15.6.0/Az.Monitor/Get-AzActivityLog.md @@ -84,7 +84,7 @@ This command lists at most 1000 of the events associated with the user's subscri ### Example 5: Get an event log by correlation ID ```powershell -Get-AzActivityLog -CorrelationId "00001111-aaaa-2222-bbbb-3333cccc4444" +Get-AzActivityLog -CorrelationId "aaaa0000-bb11-2222-33cc-444444dddddd" ``` This command lists at most 1000 events associated with the specified correlation ID that took place 7 days from the current date/time. @@ -92,7 +92,7 @@ This command lists at most 1000 events associated with the specified correlation ### Example 6: Get an event log by correlation ID with a maximum number of events ```powershell -Get-AzActivityLog -CorrelationId "00001111-aaaa-2222-bbbb-3333cccc4444" -MaxRecord 100 +Get-AzActivityLog -CorrelationId "aaaa0000-bb11-2222-33cc-444444dddddd" -MaxRecord 100 ``` This command lists at most 100 events associated with the specified correlation ID that took place 7 days from the current date/time. @@ -100,7 +100,7 @@ This command lists at most 100 events associated with the specified correlation ### Example 7: Get an event log by correlation ID and start time ```powershell -Get-AzActivityLog -CorrelationId "00001111-aaaa-2222-bbbb-3333cccc4444" -StartTime 2017-05-22T04:30:00 +Get-AzActivityLog -CorrelationId "aaaa0000-bb11-2222-33cc-444444dddddd" -StartTime 2017-05-22T04:30:00 ``` This command lists at most 1000 events associated with the specified correlation ID that took place on or after 2017-05-22T04:30:00 local time if the start time is not older than 90 days from the current date/time. @@ -108,7 +108,7 @@ This command lists at most 1000 events associated with the specified correlation ### Example 8: Get an event log by correlation ID with start time and end time ```powershell -Get-AzActivityLog -CorrelationId "00001111-aaaa-2222-bbbb-3333cccc4444" -StartTime 2017-04-15T04:30:00 -EndTime 2017-04-25T12:30:00 +Get-AzActivityLog -CorrelationId "aaaa0000-bb11-2222-33cc-444444dddddd" -StartTime 2017-04-15T04:30:00 -EndTime 2017-04-25T12:30:00 ``` This command lists at most 1000 events associated with the specified correlation ID that took place on or after 2017-04-15T04:30 local time, but before 2017-04-25T12:30 local time if the whole date/time range is not older than 90 days from the current date/time, i.e.: the retention period. @@ -143,28 +143,28 @@ This command lists at most 1000 events associated with the specified resource gr ### Example 13: Get an event log by resource ID ```powershell -Get-AzActivityLog -ResourceId "/subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" +Get-AzActivityLog -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" ``` This command lists at most 1000 events associated with the specified resource ID that took place 7 days from the current date/time. ### Example 14: Get an event log by resource ID with a maximum number of events ```powershell -Get-AzActivityLog -ResourceId "/subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" -MaxRecord 100 +Get-AzActivityLog -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" -MaxRecord 100 ``` This command lists at most 100 events associated with the specified resource ID that took place 7 days from the current date/time. ### Example 15: Get an event log by resource ID with a start time ```powershell -Get-AzActivityLog -ResourceId "/subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" -StartTime 2017-05-22T04:30 +Get-AzActivityLog -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" -StartTime 2017-05-22T04:30 ``` This command lists at most 1000 events associated with the specified resource ID that took place on or after 2017-05-22T04:30:00 local time if the start time is not older than 90 days from the current date/time. ### Example 16: Get an event log by resource ID with a start time and end time ```powershell -Get-AzActivityLog -ResourceId "/subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" -StartTime 2017-04-15T04:30 -EndTime 2017-04-25T12:30 +Get-AzActivityLog -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/ResourceGroups/Contoso-Web-CentralUS/providers/Microsoft.Web/ServerFarms/Contoso1" -StartTime 2017-04-15T04:30 -EndTime 2017-04-25T12:30 ``` This command lists at most 1000 events associated with the specified resource ID that took place on or after 2017-04-15T04:30 local time, but before 2017-04-25T12:30 local time if the whole date/time range is not older than 90 days from the current date/time, i.e.: the retention period. diff --git a/azps-15.6.0/Az.Monitor/Get-AzAlertHistory.md b/azps-15.6.0/Az.Monitor/Get-AzAlertHistory.md index 2528f1b078..a28278c0e3 100644 --- a/azps-15.6.0/Az.Monitor/Get-AzAlertHistory.md +++ b/azps-15.6.0/Az.Monitor/Get-AzAlertHistory.md @@ -36,8 +36,8 @@ Authorization : Caller : Microsoft.Insights/alertRules Claims : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn: Microsoft.Insights/alertRules -CorrelationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj +CorrelationId : /subscriptions/aaaa0000-bb11-2222-33cc-444444dddddd/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzg4ODU3OTI5OTI2 @@ -49,19 +49,19 @@ EventSource : Microsoft.Insights/alertrules EventTimestamp : 2/11/2015 7:14:45 PM HttpRequest : Id : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/events/769fab1c-fc + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/events/769fab1c-fc 9f-4e18-bc3a-fa79fbdd3616/ticks/635592788857929926 Level : Informational OperationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzg4ODU3OTI5OTI2 OperationName : ResolveAlert Properties : RuleUri : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web- - EastUS/providers/Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d - RuleName : checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d + EastUS/providers/Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 + RuleName : checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 RuleDescription: Threshold : 3 WindowSizeInMinutes: 5 @@ -71,18 +71,18 @@ Properties : MetricUnit : Count ResourceGroupName : Default-Web-EastUS ResourceProviderName : Microsoft.Insights -ResourceId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d +ResourceId : /subscriptions/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 Status : Resolved SubmissionTimestamp : 2/11/2015 7:14:45 PM -SubscriptionId : 00001111-aaaa-2222-bbbb-3333cccc4444 +SubscriptionId : ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0 SubStatus : Authorization : Caller : Microsoft.Insights/alertRules Claims : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn: Microsoft.Insights/alertRules -CorrelationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj +CorrelationId : /subscriptions/aaaa0000-bb11-2222-33cc-444444dddddd/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzgyODY1MDU5NTE0 @@ -98,15 +98,15 @@ Id : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resou 14 Level : Error OperationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzgyODY1MDU5NTE0 OperationName : ActivateAlert Properties : RuleUri : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web- - EastUS/providers/Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d - RuleName : checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d + EastUS/providers/Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 + RuleName : checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 RuleDescription: Threshold : 3 WindowSizeInMinutes: 5 @@ -116,18 +116,18 @@ Properties : MetricUnit : Count ResourceGroupName : Default-Web-EastUS ResourceProviderName : microsoft.web -ResourceId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ +ResourceId : /subscriptions/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/resourceGroups/Default-Web-EastUS/providers/ microsoft.web/sites/garyyang1 Status : Activated SubmissionTimestamp : 2/11/2015 7:04:46 PM -SubscriptionId : 00001111-aaaa-2222-bbbb-3333cccc4444 +SubscriptionId : ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0 SubStatus : Authorization : Caller : Microsoft.Insights/alertRules Claims : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn: Microsoft.Insights/alertRules -CorrelationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj +CorrelationId : /subscriptions/aaaa0000-bb11-2222-33cc-444444dddddd/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzgyODY1MDU5NTE0 @@ -139,19 +139,19 @@ EventSource : Microsoft.Insights/alertrules EventTimestamp : 2/11/2015 7:04:46 PM HttpRequest : Id : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/events/ec9f7b3c-c6 + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/events/ec9f7b3c-c6 ea-4b45-bd15-ff43e38491e3/ticks/635592782865059514 Level : Error OperationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzgyODY1MDU5NTE0 OperationName : ActivateAlert Properties : RuleUri : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web- - EastUS/providers/Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d - RuleName : checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d + EastUS/providers/Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 + RuleName : checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 RuleDescription: Threshold : 3 WindowSizeInMinutes: 5 @@ -161,11 +161,11 @@ Properties : MetricUnit : Count ResourceGroupName : Default-Web-EastUS ResourceProviderName : Microsoft.Insights -ResourceId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d +ResourceId : /subscriptions/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 Status : Activated SubmissionTimestamp : 2/11/2015 7:04:46 PM -SubscriptionId : 00001111-aaaa-2222-bbbb-3333cccc4444 +SubscriptionId : ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0 SubStatus : ``` @@ -173,7 +173,7 @@ This command gets the alert history for the specified time frame for the current ### Example 2: Get alert history for a specified resource ```powershell -Get-AzAlertHistory -StartTime 2015-02-11T11:00:00 -EndTime 2015-02-11T12:00:00 -ResourceId "/subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d" -DetailedOutput +Get-AzAlertHistory -StartTime 2015-02-11T11:00:00 -EndTime 2015-02-11T12:00:00 -ResourceId "/subscriptions/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/resourceGroups/Default-Web-EastUS/providers/Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1" -DetailedOutput ``` ```output @@ -181,8 +181,8 @@ Authorization : Caller : Microsoft.Insights/alertRules Claims : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn: Microsoft.Insights/alertRules -CorrelationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj +CorrelationId : /subscriptions/aaaa0000-bb11-2222-33cc-444444dddddd/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzg4ODU3OTI5OTI2 @@ -194,19 +194,19 @@ EventSource : Microsoft.Insights/alertrules EventTimestamp : 2/11/2015 7:14:45 PM HttpRequest : Id : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/events/769fab1c-fc + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/events/769fab1c-fc 9f-4e18-bc3a-fa79fbdd3616/ticks/635592788857929926 Level : Informational OperationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzg4ODU3OTI5OTI2 OperationName : ResolveAlert Properties : RuleUri : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web- - EastUS/providers/Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d -RuleName : checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d + EastUS/providers/Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 +RuleName : checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 RuleDescription: Threshold : 3 WindowSizeInMinutes: 5 @@ -216,18 +216,18 @@ MetricName : CpuTime MetricUnit : Count ResourceGroupName : Default-Web-EastUS ResourceProviderName : Microsoft.Insights -ResourceId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d +ResourceId : /subscriptions/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 Status : Resolved SubmissionTimestamp : 2/11/2015 7:14:45 PM -SubscriptionId : 00001111-aaaa-2222-bbbb-3333cccc4444 +SubscriptionId : ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0 SubStatus : Authorization : Caller : Microsoft.Insights/alertRules Claims : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn: Microsoft.Insights/alertRules -CorrelationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj +CorrelationId : /subscriptions/aaaa0000-bb11-2222-33cc-444444dddddd/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzgyODY1MDU5NTE0 @@ -239,19 +239,19 @@ EventSource : Microsoft.Insights/alertrules EventTimestamp : 2/11/2015 7:04:46 PM HttpRequest : Id : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/events/ec9f7b3c-c6 + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/events/ec9f7b3c-c6 ea-4b45-bd15-ff43e38491e3/ticks/635592782865059514 Level : Error OperationId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d/incidents/L3N1YnNj + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/incidents/L3N1YnNj cmlwdGlvbnMvYTkzZmIwN2MtNmM5My00MGJlLWJmM2ItNGYwZGViYTEwZjRiL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtV2Vi LUVhc3RVUy9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FsZXJ0cnVsZXMvY2hlY2tydWxlMy00YjEzNTQwMS1hMzBj LTQyMjQtYWUyMS1mYTUzYTViZDI1M2QwNjM1NTkyNzgyODY1MDU5NTE0 OperationName : ActivateAlert Properties : RuleUri : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web- - EastUS/providers/Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d -RuleName : checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d + EastUS/providers/Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 +RuleName : checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 RuleDescription: Threshold : 3 WindowSizeInMinutes: 5 @@ -261,11 +261,11 @@ MetricName : CpuTime MetricUnit : Count ResourceGroupName : Default-Web-EastUS ResourceProviderName : Microsoft.Insights -ResourceId : /subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/Default-Web-EastUS/providers/ - Microsoft.Insights/alertrules/checkrule3-4b135401-a30c-4224-ae21-fa53a5bd253d +ResourceId : /subscriptions/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/resourceGroups/Default-Web-EastUS/providers/ + Microsoft.Insights/alertrules/checkrule3-a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 Status : Activated SubmissionTimestamp : 2/11/2015 7:04:46 PM -SubscriptionId : 00001111-aaaa-2222-bbbb-3333cccc4444 +SubscriptionId : ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0 SubStatus : ``` diff --git a/azps-15.6.0/Az.Monitor/Get-AzAutoscaleHistory.md b/azps-15.6.0/Az.Monitor/Get-AzAutoscaleHistory.md index 5f4a8cb953..bb73c8b391 100644 --- a/azps-15.6.0/Az.Monitor/Get-AzAutoscaleHistory.md +++ b/azps-15.6.0/Az.Monitor/Get-AzAutoscaleHistory.md @@ -35,14 +35,14 @@ This command gets all of the Autoscale-related events associated with the curren ### Example 2: GetAutoscaleHistory for a particular resource ```powershell -Get-AzAutoscaleHistory -StartTime 2015-02-09T18:35:00 -EndTime 2015-02-09T18:40:00 -ResourceId "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/Microsoft.Insights/autoscalesettings/DefaultServerFarm-Default-Web-EastUS" -DetailedOutput +Get-AzAutoscaleHistory -StartTime 2015-02-09T18:35:00 -EndTime 2015-02-09T18:40:00 -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default-Web-EastUS/providers/Microsoft.Insights/autoscalesettings/DefaultServerFarm-Default-Web-EastUS" -DetailedOutput ``` ```output Authorization : Caller : Microsoft.Insights/autoscaleSettings Claims : http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn: Microsoft.Insights/autoscaleSettings -CorrelationId : 00001111-aaaa-2222-bbbb-3333cccc4444 +CorrelationId : aaaa0000-bb11-2222-33cc-444444dddddd Description : The autoscale engine attempting to scale resource '/subscriptions/a93fb07c-6c93-40be-bf3b-4f0deb a10f4b/resourceGroups/Default-Web-EastUS/providers/microsoft.web/serverFarms/DefaultServerFarm' from 1 instances count to 2 instances count. @@ -51,7 +51,7 @@ EventName : AutoscaleAction EventSource : Microsoft.Insights/autoscalesettings EventTimestamp : 2/10/2015 2:38:19 AM HttpRequest : -Id : /subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/ +Id : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default-Web-EastUS/providers/ Microsoft.Insights/autoscalesettings/DefaultServerFarm-Default-Web-EastUS/events/c554f7ed-514c-4 49c-9338-13e15b4b56a3/ticks/635591326997519815 Level : Informational @@ -61,7 +61,7 @@ Properties : Description : The autoscale engine attempting to scale resource '/subscriptions/a93fb07c-6c93 -40be-bf3b-4f0deba10f4b/resourceGroups/Default-Web-EastUS/providers/microsoft.web/serverFarms/De faultServerFarm' from 1 instances count to 2 instances count. -ResourceName : /subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web- +ResourceName : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default-Web- EastUS/providers/microsoft.web/serverFarms/DefaultServerFarm OldInstancesCount: 1 NewInstancesCount: 2 @@ -77,7 +77,7 @@ ActiveAutoscaleProfile: { "MetricTrigger": { "Name": "CpuPercentage", "Namespace": "", - "Resource": "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default- + "Resource": "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default- Web-EastUS/providers/microsoft.web/serverFarms/DefaultServerFarm", "ResourceLocation": "East US", "TimeGrain": "PT1M", @@ -99,7 +99,7 @@ ActiveAutoscaleProfile: { "MetricTrigger": { "Name": "CpuPercentage", "Namespace": "", - "Resource": "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default- + "Resource": "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default- Web-EastUS/providers/microsoft.web/serverFarms/DefaultServerFarm", "ResourceLocation": "East US", "TimeGrain": "PT1M", @@ -121,7 +121,7 @@ ActiveAutoscaleProfile: { "MetricTrigger": { "Name": "BytesReceived", "Namespace": "", - "Resource": "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default- + "Resource": "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default- Web-EastUS/providers/microsoft.web/serverFarms/DefaultServerFarm", "ResourceLocation": "East US", "TimeGrain": "PT1M", @@ -143,7 +143,7 @@ ActiveAutoscaleProfile: { "MetricTrigger": { "Name": "BytesReceived", "Namespace": "", - "Resource": "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default- + "Resource": "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default- Web-EastUS/providers/microsoft.web/serverFarms/DefaultServerFarm", "ResourceLocation": "East US", "TimeGrain": "PT1M", @@ -165,11 +165,11 @@ ActiveAutoscaleProfile: { } ResourceGroupName : Default-Web-EastUS ResourceProviderName : Microsoft.Insights -ResourceId : /subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/ +ResourceId : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/Default-Web-EastUS/providers/ Microsoft.Insights/autoscalesettings/DefaultServerFarm-Default-Web-EastUS Status : Succeeded SubmissionTimestamp : 2/10/2015 2:38:19 AM -SubscriptionId : b93fb07a-6f93-30be-bf3e-4f0deca15f4f +SubscriptionId : ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0 SubStatus : ```